Opacity icon

Using Variables

Variables let you set one value and use it in multiple places.

Using Variables:

Step 1

To add the variable, select the menu item from the Add Variable popup menu in the toolbar that corresponds to the type of variable you want to add.

Step 2

In the Inspector, find the field you want to bind to the variable. It will have a variable well surrounding it.

Variable Well

Step 3

Click on the variable well, and in the variable popup that appears, choose your new variable.

Step 4

Repeat for any other values you want to bind to the variable.

Step 5

If you want, you can add a variable value in a factory to set that variable to a specific value when building that factory.

Now, whenever you change the variable's value, it will be updated in all of the values that have been bound to it.

Related Topics

Variable Types