Handbook · Reference · Blockly · Logic
Blockly: Logic
Where in the UI. Scripts tab toolbox.
Stock Blockly: if, compare, and/or, booleans, ternary.
| Block id | Read as | Purpose |
|---|---|---|
controls_if | if | If / else control flow. |
logic_compare | compare | Compare two values (=, ≠, <, >, ≤, ≥). |
logic_operation | operation | And / or of two booleans. |
logic_boolean | boolean | True or false literal. |
logic_negate | negate | Boolean not. |
logic_null | null | Null literal. |
logic_ternary | ternary | Inline if: test ? then : else. |