Repeat with Counter

 
 
 

Repeatedly executes the connected branches as many times as specified.

Category: Execution

Output Ports: Execute

Num Iterations

The number of times to repeat the connected branches.

In Name

A scene reference that is prepended to Reference to fully resolve the name.

Reference

The attribute being used to store the counter.

If you use more than one Repeat with Counter compound on an object, change the name so that the attributes do not interfere with each other.

Within the execute branches, you can get this attribute to know which iteration is currently being executed (0 for the first time through the loop, 1 for the second time, and so on).

Execute Each Iteration

Plug the branch to be executed into this port. Additional branches can be added by plugging them into New (Execute Each Iteration).