<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [SceneUIManager](./server.sceneuimanager.md) &gt; [getSceneUIById](./server.sceneuimanager.getsceneuibyid.md)

## SceneUIManager.getSceneUIById() method

Retrieves a SceneUI instance by its unique identifier (id).

**Signature:**

```typescript
getSceneUIById(id: number): SceneUI | undefined;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

id


</td><td>

number


</td><td>

The unique identifier (id) of the SceneUI to retrieve.


</td></tr>
</tbody></table>
**Returns:**

[SceneUI](./server.sceneui.md) \| undefined

The SceneUI instance if found, otherwise undefined.

