Patch Editor
Utility Patches
Option Picker Patch

Option Picker Patch

Use the Option Picker patch to set up values for an object, material or other element in your scene to take. You can add a minimum of 2 and maximum of 32 values.

To add or remove values, click and drag the bottom of the patch.

The type of value you can select depends on the data type selected.

Default inputs



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

You can add up to 32 option inputs.




The selected value.


In the example below, we see the object take one of three different colors when the screen is tapped.

We achieved this with the graph below:

To do this:

  1. We connected the Count output on the Counter patch to the Option input on the Option Picker patch.

  2. On the Option Picker patch, we entered three color values in the top three fields.

    The selected value is displayed numerically in the Option field, with 0 representing the first color value in the list.

  3. On the Counter patch, we set the Maximum Count to 3. This ensures only the top three values on the Option Picker patch can be used in the effect.

  4. Finally, we connected the output on the Option Picker patch to the Base Color Texture input on the object material patch. This allows the object material to take the selected value whenever a screen tap is detected.

Was this article helpful?