Skip to content

Switch

Toggle switch. Outputs 1 when on, 0 when off — handy for enabling/disabling a branch of a patch.

Category: Input

input-switch node on canvasinput-switch inspector panel

Inputs

(none)

Outputs

NameTypeDescription
oncontrol1 when on, 0 when off.

Parameters

NameTypeDefaultRangeUnitDescription
onbooleanfalsetrue, falseSwitch state.