Set Variable Node

This is a variable node, used to set the value of the variable to a specific number.

This is most often used when you want compare the value later, or you want to reset a counter you've created using the Increment node.

This node is used in all modules.

Inputs

Value (Input #1) is a number that will be written to the variable.

Enabled (Input #2) is a true or false value. If true, the value will be written.

Outputs

Output #1 is the number that is being recorded. Note that the value of the number will pass through this node regardless of the enabled value.

Options

The Name option is the name of the variable you want to record. Make sure that your variable names exactly match any other variable node that wants to use the same value, including case.