Switch

Passes one of two inputs to the output based on a boolean parameter choice.

When to Use

  • A/B testing: Quickly compare two different upstream configurations without rewiring connections.
  • One control, many choices: Input choice can be driven by a parameter wire, so one control can flip several Switches at once.

How to Use

Connect two different data sources to the two inputs. With Input choice off, the Primary Input passes through; turn it on to pass the Optional input instead.

  1. Connect two different data sources to the two inputs.
  2. Toggle the Input choice parameter to select which source should be active.

Inputs

PortTypeRequired/OptionalDescription
Primary InputAnyRequiredThe default input data source, used while Input choice is off.
Optional inputAnyOptionalThe alternate input data source, used while Input choice is on.

Outputs

PortTypeDescription
Primary OutputAnyThe selected input data.

Parameters

Input choice — Boolean toggle that selects which input to pass through. Default: off.

  • Off (unchecked) — Passes the Primary Input to the output.
  • On (checked) — Passes the Optional input to the output. If nothing is connected to the Optional input, the Switch produces no output.

Tips and Tricks

  • The Switch device accepts any data type and will adapt to whatever is connected.
  • The two inputs can have different resolutions, but both must be in the same space (both world space or both local space).
  • To pick among more than two sources, use the Route Chooser.

Limitations

  • Both connected inputs build whenever the Switch builds, even the one that is not selected. To save build time, disconnect or disable the branch you are not using.
Updated on December 3, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support