Loop Block

Loop block will continuously execute blocks under “True” when certain condition is met, otherwise blocks under “False” will be executed normally i.e. only once.

# How to create a loop block

  1. Drag "Loop" block under “Control Blocks” in block picker.
  2. Enter a condition. You dont have to use double curly braces while entering variable in condition input. You can use following comparators to compare two values:
    1. ==: equal to
    2. {">="}: greater than or equal to
    3. {"<="}: less than or equal to
    4. {"!="}: not equal to
  3. You can test multiple conditions at once by using “and” and “or” between the conditions
    1. Eg: Condtion1 and condition2. This will execute only if condition1 and condition2 both are true.
    2. Eg: Condtion1 or condition2. This will execute if either condition1 or condition2 are true.
  4. You can group conditions using brackets eg: {"(condtion1)"} and {"(condtion2)"}