Patches

Loop Option Switch

Loop Option Switch

Find the index of the last pulsed item in a loop of pulses.

Loop
 
 
 
 
Output
2

Often used with an Interaction patch on a looped layer to check which of the layers was tapped.

Loop Option Switch

  •  
  • Option

Input

A loop of pulses.

Option

An index that represents the last pulsed item in a loop.