Toggle

Overview

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.

Attributes

AttributeTypeDescription

Value

Bool

The default value/state of the Node, before it is executed.

Inputs

InputTypeDescription

Pulse Input (►)

Pulse

A standard input Pulse, to trigger the execution of the Node.

Outputs

OutputTypeDescription

Pulse Output (►)

Pulse

A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

Is On

Bool

Whether or not the value/state of the Node is currently true.

Last updated