Variables

Variable is a named storage for some known or unknown value. The value can be changed in your program (varies, hence the name).

Creating Variables

Variables can be created in several different ways:

Creating a variable in visual programming editor

A typical use case for variable is when you have an object that can be in several states. For example, a door can be open or closed, and if you want to animate it properly you need to know in which exactly status it is now.

Using variables in visual programming editor

Puzzles Reference

set

This puzzle assigns a value to a variable.

Set variable in visual programming editor

get

This puzzle provides the value stored in a variable, without changing it.

Get variable in visual programming editor

change

Increments the value stored in a variable by a specified number. If the initial value is not numeric, or not set, then it is considered to be zero which is incremented.

Change variable in visual programming editor

Having Troubles with Puzzles?

Seek help on the forums!