VariableSwitch

This node allows you to switch seamlessly between inputs, Variables, and scopes, customizing which are in use in your script.

See more at VariableSwitch Node in a Multishot Context.

Inputs and Controls

Connection Type

Connection Name

Function

Inputs

i0, i1, i2, i3, i4 (and so on)

The nodes you wish to connect in order to switch between them.

Control (UI)

Knob (Scripting)

Default Value

Function

variable

variable

N/A

The options in this dropdown are derived from the Variables set in the Variables tab in Project Settings.

patterns i0, i1, i2, i3, i4 (and so on) N/A A pattern knob appears for each input that the node has. Type Variable names into these patterns to define the inputs that are active on the node. The Variables should match the ones you have defined in the Variables tab in the Project Settings.