Variables
Variables let you record the player's choices and adapt the rest of the story. An Action block can change a variable's value after a choice. A conditional block can then send the player down a branch based on that value.
For more information, see Logical blocks.
When nothing is selected in the story tree, the editor displays the variables panel.

Click + to create a variable.
Name
A variable can have a different name in each language.
Value
A variable's value is always an integer. It can be negative.
Variable icon
Click the icon to open the selection panel. You can choose an icon or import one. The icon helps you identify the variable in the editor and appears when the variable is shown in a scene or a playable level.
Bell icon
Click the bell to assign an audio file to the variable. In a playable level, the sound plays automatically when the player picks up an object linked to that variable.
Trash icon
Click the trash icon to delete a variable.
Expand
Some properties in the table are hidden by default. Click Expand to show them.
Global
Enable this option to share a variable's value across playthroughs on the same device. If the value changes during a playthrough, later playthroughs on that device use the new value regardless of the save file.
Display order
Once the table is expanded, you can change the order of the variables. Group variables that serve the same purpose to make them easier to find.
Name a variable in another language
Use the language button at the bottom of the interface to select the project language you want to edit. Then enter the variable's name in that language.