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

TypeNameDescription
flowIn Performs the assignment.
dynamicvalue Must match the chosen variable's declared type.

Outputs

TypeNameDescription
flowOut Continues the chain.