img loading="lazy" src="help-images/If-Else-Block.png">

An If-Else-Block Action creates a condition using a variable, that activates one set of actions when the condition is meet, and a different set of actions when the condition is not meet. In the example above, the If-Else-Block uses a signal from the signals tab to determine the condition for the If-Else-Block, by checking if the signal is high.

The signal called "Signal Example" monitors the state of output 4 as shown in the picture above. The If-Else-Block uses the condition to make output 1 pulse if output 4 is high, or make output 2 pulse if output 4 is low.