The variable element allows you to get and set a variable value during runtime, similar to a variable in C. This allows for runtime storage of data, and also facilitates sharing of values between elements that aren’t otherwise directly connected.
The variable element is located in the Element Toolbox within Studio’s Embedded View.
The following properties can be changed for the variable element:
The name of the element.
The initial value of the element
Initial Data Type
The data type of the initial value of the element
The following triggers are available to execute events from within the variable element:
Execute an event when the source element connected to the variable triggers.
Execute an event when the element’s value is set. The most recently set value is passed as the input to this trigger.
Execute an event when the element’s value is returned.
The following abilities are available for the variable element when its source element triggers:
Trigger the element(s) that follow the variable element.
Store the input value.
Return the input value.