Repeat2d Op


Triggers all ops underneath Num X * Num Y times

Imagine a Ops.Trigger.Repeat connected to a Ops.Trigger.Repeat, or a for loop inside a for loop. This loop is especially useful for drawing a matrix of objects.

Edit Documentation
Full Name
  • Ops.Trigger.Repeat2d
  • Core Op - Official cables op
  • MIT
AuthorTest Patches

Example Patch Repeat 2D

The repeat 2D op is like using two repeat ops in one. Check the Repeat example for a simplified demonstration of this patch.
Open In Editor


exe (Trigger)

Executes the loop

num x (Number:integer )

Number of times executed on the X axis

num y (Number:integer )

Number of times executed on the Y axis

mul (Number)

Multiplies the X and Yvalues, makes it easier e.g. to use the outputs directly in a Ops.Gl.Matrix.Transform

center (Number:boolean )

Centers X and Y around the origin (0/0)


trigger (Trigger)

Trigger for each iteration of the loop

x (Number)

The X value for the current iteration

y (Number)

The Y value for the current iteration

index (Number)

Current index. If you have a 5x5 repeater, this value goes from 0 to (including) 24

total iterations (Number)

Patches using Repeat2d

  • Examples
  • Public
  • My Patches