13. Create a variable for the repair
A variable is a named piece of game memory. Here we need one yes/no value: has the clock been repaired?
1. Open the Variables designer.
2. Add a variable with ID clock_fixed and Name Clock Repaired.
3. Choose Boolean as its type.
4. Leave its starting value false.
5. Apply Changes and save.
Figure 20. The project starts with Clock Repaired false. Runtime actions will change the current game value.
Boolean false means no; true means yes. It is different from the text string "true". When an action asks for a generic value, enter the actual boolean value rather than quoted text.
