Is () even

From PenguinMod Wiki
Revision as of 15:57, 25 November 2023 by SuperSonic136 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Is () even
...
[[File:|200px]]
Caption
Block Type Boolean
Category / Extension Operators Expansion
Status Who tf uses status

The is even block is a boolean block and a operators block that detects if a number is an even number or an odd number. To get it, one must add the "Operators Expansion" extension.

Workaround

Numbers are even when divisible by 2, so using the mod block with 2 as the second input and detecting if the result is 0 works the same.