Skip to main content

Control

if & if else

Tests a given condition. If the condition is true, perform the actions in a given sequence of blocks; otherwise, the blocks are ignored.

Tests a given condition. If the result is true, perform the actions in the -do sequence of blocks; otherwise, perform the actions in the -else sequence of blocks.

Tests a given condition. If the result is true, perform the actions in the -do sequence of blocks; otherwise, test the statement in the -else if section. If the result is true, performs the actions in the -do sequence of blocks; otherwise, performs the actions in the -else sequence of blocks.

The gif below shows how to use the if-else mutator block.

for each from to

Runs the blocks in the do section for each numeric value in the range starting atfrom_and ending at_to, incrementing_number_by the value of_by_each time. Use the given variable name,_number_to refer to the current value. You can change the name_number_to something else if you wish.

for each in list

Runs the blocks in the do section for each item in the list. Use the given variable name,item, to refer to the current list item. You can change the name_item_to something else if you wish.

for each key with value in dictionary

Runs the blocks in the do section for each key-value entry in the dictionary. Use the given variables, key, and value, to refer to the key and value of the current dictionary entry. You can change the name key and value to something else if you wish.

while

Tests the -test condition. If true, performs the action given in -do, then tests again. When the test is false, the block ends, and the action given in -do is no longer performed.

Assets

loading block...

Helps you to use the assets you have uploaded in the assets section. Returns the selected asset

Open another page

loading block...

Opens the selected screen

break

Break out of the containing loop