-
Notifications
You must be signed in to change notification settings - Fork 0
NOT
ignorantbliss edited this page Jan 30, 2024
·
1 revision
A NOT scripting node is used to invert an output - a value of 0 will become 1, and a value of 1 will become 0.
1> Signal: An incoming signal that moves between 0 and 1
1> Output: An inverted signal
This node is used if you want invert an output - for example, if you want to do something when a Button is not activated.
Let's say you have a Door with a MiniBrush guard behind it.
If the door is inactive (closed), the MiniBrush will be asleep. But when the door opens, the MiniBrush will wake up and start moving. Using the NOT node, you can have logic that happens when the IS ACTIVATED node has a value of either 1 or 0.