Designer: Triggers
On this page
Earlier edition reference / Current 0.86.4.0 property paths > p. 329
Triggers are a filtered view of scene entities. Event volume and blocking/collision dimensions have different jobs. A trigger does not gain a new collision shape just because a custom key has the same name as a physics setting.
Reference shape: triggers.welcome_trigger.property_path.
The example ID is illustrative. Choose an existing record in your own project; direct camera, spawn and objective lookups must be unambiguous.
Methods on Triggers#
play_animation(animation)#
Play an animation state or clip on this object.
Accepts 1 to 1 arguments.
| Property path | Type / access | Purpose and limits |
|---|---|---|
| id | text R / Definition | Stable room-entity ID. Rename with the editor so references can be updated. |
| type | text R / Definition | Trigger entity kind. |
| name | text W / Definition | Primary object display name. Character objects use character.displayName first. Hover precedence is character.displayName, then name, then hotspot.label, then the stable ID. Objects do not have generic displayName or displayColor properties. |
| description | text W / Definition | Object description. |
| assetId | record W / Definition | Model, sprite, or other source asset. Reference kind: assets. Saved to the record; a loaded object may need to be recreated for asset changes. |
| folder | text W / Definition | Editor organization folder. |
| enabled | boolean W / Live | Whether this object can update and interact. |
| visible | boolean W / Live | Whether this object is visible. |
| opacity | number W / Definition | Object opacity from 0 to 1. |
| locked | boolean W / Definition | Whether editor manipulation is locked. |
