<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [client](./client.md) &gt; [HytopiaUI](./client.hytopiaui.md) &gt; [unregisterLoadedSceneUITemplates](./client.hytopiaui.unregisterloadedsceneuitemplates.md)

## HytopiaUI.unregisterLoadedSceneUITemplates() method

Removes all custom Scene UI templates. Built-in HYTOPIA templates (prefixed with `hytopia:`<!-- -->) are preserved. Use this when cleaning up your game code on disconnect or world change.

**Signature:**

```typescript
unregisterLoadedSceneUITemplates(): void;
```
**Returns:**

void

