Ops.Trigger.Repeat2d

op id:79934693-5887-4173-8b48-3e3a18fcf225

Triggers all ops underneath Num X * Num Y times

summary (oneliner)

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.

doc

issues

youtube id

collections

#### Inputs

exe (Function)

Executes the loop

num x (

*integer*Number)Number of times executed on the X axis

num y (

*integer*Number)Number of times executed on the Y axis

mul (Number)

Multiplies the `X`

and `Y`

values, makes it easier e.g. to use the outputs directly in a Ops.Gl.Matrix.Transform

center (

*boolean*Number)Centers `X`

and `Y`

around the origin `(0/0)`

#### Outputs

trigger (Function)

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)

#### Credits

- Op author: pandur