Variables & Fields
Set Variable
Writes a value into one of the script's variables.
In
value
Set Variable
Out
Node image coming soon
Usage
Pick the variable from the dropdown on the node; the value input then takes that variable's declared type and nothing else. Variables live for as long as the script runs. For state that has to survive on the object itself, use a component field instead.
On the node
variable
Chosen from the script's declared variables.
Inputs
| Type | Name | Description |
|---|---|---|
| flow | In | Performs the assignment. |
| dynamic | value | Must match the chosen variable's declared type. |
Outputs
| Type | Name | Description |
|---|---|---|
| flow | Out | Continues the chain. |