not
Details
Kode wheel segment | Timing and Logic |
Style | Specialised |
Modifiers | None |
Primarily WHEN/DO | WHEN |
Pre-made brains that use it | unknown |
Timing and Logic> not
Description
Normally the kode line DO will run when the WHEN side is true. With the [not] tile in front, the DO line runs if the WHEN side is false.
Example Code
WHEN [interacted]
…WHEN [not][has power] DO [power on]
WHEN [not][boolvar: happy] DO [emote][sad]
…WHEN [else] DO [emote][happy]
Modifiers
None