On Variable Change
Triggered when a State Machine asset variable changes
Executed when the State Machine Variable is modified.
Description
This event fires whenever a variable on a State Machine asset is changed. Use this to react to global state changes across all instances.
Parameters
Name
Description
Variable
The variable to monitor for changes
Keywords
Variable, Change, State Machine
Example
Trigger Component:
โโ Event: On State Machine Variable Change
โ โโ Variable: "GameMode"
โโ Actions:
โโ Update UI to reflect new game modeThis monitors asset-level variables. For per-instance variables, use On State Machine Runner Variable Change instead.
Last updated
Was this helpful?