Toggle

Toggle This node toggles between the two output states True and False.

The Toggle Node outputs a Boolean value which can either be toggled with the Toggle event or explicitly set to true or false with the On and Off methods respectively. One example for this would be to implement a light switch that when touched will be activated and when touched again will be deactivated.