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
| Type | Name | Description |
|---|---|---|
| flow | In | Enters the loop. |
| int | start | First value of the counter. |
| int | end | Where to stop. Excluded unless “include end” is ticked. |
| int | step | Added to the counter each pass. |
Outputs
| Type | Name | Description |
|---|---|---|
| flow | body | Runs once per count. |
| flow | when done | Runs after the last pass. |