Logic β
Conditional operations such as comparisons, booleans, and branching.
Controls If β
Block β
Description β
If a value is true, then do some statements.
Params β
- IF0: Boolean
- DO0: Blocks
Logic Compare β
Block β
Description β
Return true if both inputs equal each other.
Params β
- A: Any
- OP: Dropdown
- =
- β
- β<
- ββ€
- β>
- ββ₯
- B: Any
Logic Operation β
Block β
Description β
Return true if both inputs are true.
Params β
- A: Boolean
- OP: Dropdown
- and
- or
- B: Boolean
Logic Negate β
Block β
Description β
Returns true if the input is false. Returns false if the input is true.
Params β
- BOOL: Boolean
Logic Boolean β
Block β
Description β
Returns either true or false.
Params β
- BOOL: Dropdown
- true
- false
Logic Null β
Block β
Description β
Returns null.
Logic Ternary β
Block β
Description β
Check the condition in 'test'. If the condition is true, returns the 'if true' value; otherwise returns the 'if false' value.
Params β
- IF: Boolean
- THEN: Any
- ELSE: Any
Math Number Property β
Block β
Description β
Check if a number is an even, odd, prime, whole, positive, negative, or if it is divisible by certain number. Returns true or false.
Params β
- NUMBER_TO_CHECK: Number
- PROPERTY: Dropdown
- even
- odd
- prime
- whole
- positive
- negative
- divisible by