set_object_enabled()
Enable / Disable Object | Action ID: SetObjectEnabled
Set an object's enabled state.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Room sceneId | Choose a scene ID. | Blank |
| Object entityId | Choose an entity in the selected scene. | Blank |
| Enabled enabled | Explicit on/off state for the feature or response. | true |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
set_object_enabled({"sceneId": "lab", "entityId": "archive_door", "enabled": true})In use. Disable a puzzle object while the scene is being prepared. Test its visual, input and collision behavior in the running game; use Set Object Visible when you only mean to change whether it is drawn.
