SetMotion()
Set Motion
Explicitly enable or disable authored object motion.
| Option key / field | Meaning and 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 |
| State Variable (optional) variable | Choose a game variable name. May be blank. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetMotion({"sceneId": "lab", "entityId": "archive_door", "enabled": true})In use. Start the clock's rotating mechanism after power is restored. Choose Enabled on for a repeat-safe command. This does not create the rotation path, speed or scaling motion; it controls the setup already present on the object.
ToggleGlow()#
Toggle Glow
Invert an object's authored glow state and optionally record it in a variable.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Entity entityId | Choose a scene entity ID. | Blank |
| Variable variable | Text. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ToggleGlow({"entityId": "archive_door", "variable": ""})In use. Toggle a test lamp during inspection. Visible bloom also depends on renderer/environment support. A bright material without bloom is still emissive; glow is not a mirror reflection of the player.
