useObject
Uses an object by their ID.
Syntax
useObject(id);
Name | Type | Description |
---|---|---|
id | string | The ID of the object to use. |
Returns
- `ObjectManager - The object manager.
Example
const object = useObject('my-object-id');
Available on: Client Server
Uses an object by their ID.
useObject(id);
Name | Type | Description |
---|---|---|
id | string | The ID of the object to use. |
const object = useObject('my-object-id');
Available on: Client Server