Control Flow

For

Counts from a start to an end in fixed steps, running a branch each time.

In
start
end
For
body
when done
Node image coming soon

Usage

Start, end and step are all required and all ints. The end is excluded unless you tick “include end”. Naming an iterator exposes the current count under that name inside the body, so the loop can act on the number it is on rather than just repeating.

On the node

iterator (optional)
Names the loop counter so the body can read it. Leave empty if unused.
include end
Off by default, so the end value is excluded.

Inputs

TypeNameDescription
flowIn Enters the loop.
intstart First value of the counter.
intend Where to stop. Excluded unless “include end” is ticked.
intstep Added to the counter each pass.

Outputs

TypeNameDescription
flowbody Runs once per count.
flowwhen done Runs after the last pass.