DespawnObject()
Despawn Scene Object
Remove a live object instance through the runtime scene-life route.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Room sceneId | Choose a scene ID. | Blank |
| Scene Object entityId | Choose an entity in the selected scene. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await DespawnObject({"sceneId": "lab", "entityId": "archive_door"})In use. Remove a temporary projection when its sequence ends. Keep an ID or authored definition if it will be restored. Despawning a visible item does not automatically remove a matching inventory item.
