Aller au contenu

Switch Node

By Kriss Norde

Switch chooses one source among several inputs and lets only that one through.

Overview

Switch lets you alternate between multiple input sources and keep only one as the output, which is handy for toggling between different visual elements within a composition. The number of inputs is dynamic and each input can be renamed. It works with most types of tools, including Shapes and 3D. It also exists as a modifier: right-click on a control, Modify With and Insert submenus.

Where to find this node

  • Effects Library: Tools > Miscellaneous > Switch
  • Quick add: right-click in the Node Editor → Add Tool > Miscellaneous > Switch

Inputs

  • Up to nine inputs with the slider in the Config tab. For more, type the number directly into the Number of Inputs field.

Setup

Several sources → Switch → rest of the node tree (for example a Transform)

Controls tab

Source
chooses which input passes through the Switch.

Config tab

Number of Inputs
number of inputs, up to nine with the slider. Beyond that, click in the field and type the value.
Name X
replaces the input number with a more descriptive name.

Use cases

  • Toggle between several visual elements (for example three media inputs) in a composition, choosing which one continues down the tree.