Patches

Option Picker

Option Picker

This holds a list of options and then allows you to choose one of them. This can be used to switch between different colors for a layer, for example. The first input controls which value is chosen. Often used with Option Switch to control which option is picked. Formerly known as Multiplexer.

If you are a programmer looking for an “if statement” or “case statement”, this patch gives similar functionality but in an Origami style.

Right-click to change the type (ex: number, text, color), or to add additional options.

Option Picker

  • Option
  •  
  •  
  •  

Option

An index (starting at 0) that represents the option to output.

Input

A value that represents option 0.

Input

A value that represents option 1.

Output

The picked value.