Variables

Variables are super useful to get to the next level with OMATA.

Creating a variable

  1. Insert the "Set variable" command at the top.

  2. Enter a variable name and value.

Note: Variables can be number or text. Match the variable's type with the expected input to avoid issues.



Using a variable

  • Use variables in any input field with double brackets like this: {{variablename}}, e.g. {{items}}.

  • Just make sure the "Set variable" command is run before you use the variable.

Note: Variables can be text or numbers. Match the variable's type with the expected input to avoid issues.


Insert variables in math formulas

Mix math formulas with variables. For example, adjust opacity based on the number of items, which is defined in the variable "items".