Nodes > Functions > Procedural > Loop ( Dynamic )
Creates a loop that executes multiple times and returns a single result. The input value is recalculated for each iteration, and the resulting output is a combination of all input values, depending on Mode. Nodes like Loop Iteration and Loop Ratio can be used on the input side to create different results for each iteration.
This is similar to the regular Loop node, but the Iteration count is dynamic instead of predefined.
Modes
Mode | Result |
---|---|
Average | The average of all iteration results |
Accumulate | The sum of all iteration results |
Min | The lowest value of all iteration results |
Max | The highest value of all iteration results |
Multiply | The result of multiplying all iteration results |
!!! note When using Min or Max, each dimension is treated separately for multi-dimension values.
Inputs
Name | Type | Description |
---|---|---|
Input | float | Input calculation used for each iteration |
Iterations (1-1024) | float | Number of times the loop will execute |
Outputs
Name | Type | Description |
---|---|---|
Output | float | Combined result of all loop iterations. The Mode property controls how this value is calculated |
Properties
Name | Type | Description |
---|---|---|
Loop ID | dropdown | Identifies this loop, allowing graphs to contain nested loops |
Mode | dropdown | Specifies what method is used to calculate the output value |
Was this page helpful?