Logic – Set Variables #
Description #
Initiates a variable – assigning a variable name and value, or sets an existing variable to a different value. The initial variable value can be explicitly set or set based on the value of another variable. It can also be set to the current time (to be used for tracking any time duration of interest).
A variable must be set before it can be used in other actions (such as If-Then, Change Variable, etc.)
When managing existing variables:
- use Set Variable to explicitly define the value of that variable
- use Change Variable to change the value of a variable based on operation (i.e. add 1, divide by 2, etc.)
Properties #
Start Time
The time (in seconds) when the action will activate.
The Start Time is relative to the timeline in which the action occurs (not the absolute time from when the experience starts).
Variable Name
The name of the variable.
Value (alphanumeric)
The initial value of the variable
Set value from another variable – sets the value based on the value of an existing variable
Set variable to current time – sets the value of the variable to the current time. Useful for the Get Time Duration action.



