Logic
Conditional statements (if), comparison, and boolean operations. Compare Values accepts two values of any type, not only numbers, and the result of a comparison or logic operation is always [Digital]. The Condition block uses its gear button to add condition entries or change their order.
Condition

If the value connected to if is true, runs the blocks connected to do. This corresponds to an if statement in programming languages. Use the gear button to add else if and else entries or change their order.
- Input: condition [Digital]
- Output: none
Compare Values

Compares two input values to check whether they are equal, not equal, greater than, or less than each other. The comparison operator is selected from the block's dropdown.
- Input: value1 [Any type], value2 [Any type]
- Output: comparison result [Digital]
Logic Operation

Performs a logical AND (and) or OR (or) on two input values. AND returns true when both values are true; OR returns true when at least one is true.
- Input: value1 [Digital], value2 [Digital]
- Output: operation result [Digital]
Not

Returns the inverted input value: true becomes false and false becomes true.
- Input: value [Digital]
- Output: inverted value [Digital]
Digital Value

Outputs the constant true or false.
- Input: none
- Output: true or false [Digital]