And/Or Block

The and block returns true if both inputs are true.

The or block returns true if any of the inputs are true.

To specify a condition, add two blocks to the inputs.

To specify if the block should be an and or an or block, use the dropdown in the center of the block.

Generated Code

And

condition1 && condition2;

Or

condition1 || condition2;

Last updated