-
-
Notifications
You must be signed in to change notification settings - Fork 73
Variables
Manuel Mayer edited this page Jan 30, 2022
·
2 revisions
States, numbers and text can be stored in variables
But you have to distinguish between:
- User created variables (can be edited by the user)
- Plugin created variables (read only)
Type | Description | Example |
---|---|---|
Integer | A integer number | 2 |
Float | A floating point number | 5.4 |
String | Text | Hello |
Bool | A boolean has 2 states, true and false | True/False |
All variables can be used in labels can be added to labels
Both, user created and plugin created variables of the type Bool can be used as a state binding for the buttons. That means the button state is "On" when the variable is "True" and "Off" when the variable is "False".
All variables can be used in conditions to run different actions, based on the value of the variable.