<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [SceneUIManager](./server.sceneuimanager.md)

## SceneUIManager class

Manages SceneUI instances in a world.

When to use: querying or bulk-unloading scene UI elements in a world. Do NOT use for: player HUD/menus; use `PlayerUI` for per-player UI.

**Signature:**

```typescript
export default class SceneUIManager 
```

## Remarks

The SceneUIManager is created internally per `World` instance. Pattern: load scene UI for world objects and unload them when entities despawn.

\*\*Category:\*\* UI

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `SceneUIManager` class.

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[world](./server.sceneuimanager.world.md)


</td><td>

`readonly`


</td><td>

[World](./server.world.md)


</td><td>

The world the SceneUIManager is for.

\*\*Category:\*\* UI


</td></tr>
</tbody></table>

## Methods

<table><thead><tr><th>

Method


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[getAllEntityAttachedSceneUIs(entity)](./server.sceneuimanager.getallentityattachedsceneuis.md)


</td><td>


</td><td>

Retrieves all loaded SceneUI instances attached to a specific entity.

Use for: cleanup or inspection of entity-bound scene UI.


</td></tr>
<tr><td>

[getAllSceneUIs()](./server.sceneuimanager.getallsceneuis.md)


</td><td>


</td><td>

Retrieves all loaded SceneUI instances for the world.


</td></tr>
<tr><td>

[getSceneUIById(id)](./server.sceneuimanager.getsceneuibyid.md)


</td><td>


</td><td>

Retrieves a SceneUI instance by its unique identifier (id).


</td></tr>
<tr><td>

[unloadEntityAttachedSceneUIs(entity)](./server.sceneuimanager.unloadentityattachedsceneuis.md)


</td><td>


</td><td>

Unloads and unregisters all SceneUI instances attached to a specific entity.


</td></tr>
</tbody></table>
