Skip to main content
Version: 5.x

Nodes > Functions > Procedural > Loop ( 4x )

Loop ( 4x )

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.

Modes

ModeResult
AverageThe average of all iteration results
AccumulateThe sum of all iteration results
MinThe lowest value of all iteration results
MaxThe highest value of all iteration results
MultiplyThe result of multiplying all iteration results

!!! note When using Min or Max, each dimension is treated separately for multi-dimension values.

Inputs

NameTypeDescription
InputfloatInput calculation used for each iteration

Outputs

NameTypeDescription
OutputfloatCombined result of all loop iterations. The Mode property controls how this value is calculated

Properties

NameTypeDescription
IDdropdownIdentifies this loop, allowing graphs to contain nested loops
IterationsintNumber of times the loop will execute
ModedropdownSpecifies what method is used to calculate the output value
Was this page helpful?
Yes
No

AI-Powered Search