Toggle
Last updated
Last updated
The Toggle Node holds a Boolean state, which alternates between true and false every time the input Pulse is triggered. This can be thought of as a light switch, which alternates a light bulb's state between being on and off.
Scope: Project, Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| Bool | The default value/state of the Node, before it is executed. |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard input Pulse, to trigger the execution of the Node. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Bool | Whether or not the value/state of the Node is currently true. |
State on Technopedia.