Variable
Last updated
Was this helpful?
Last updated
Was this helpful?
Think of a variable as a bucket. You can put values into it and remove values from it. To reference the variable, you must use its name.
There are four different kinds of variables in Sketchware:
Booleans accept values like true and false
Number variables accept numbers
String variables accept a string (text)
Map variables are for making maps with key:value
pairs
Sets a boolean variable to True or False
Sets a number variable to the specified value
Increases the number variable by 1
Decrease the number variable by 1
Sets a string variable to the specified value