Skip to main content

For Each

Controlled node

Overview

A node for looping over iterable data structures such as List and Dictionary. The node will iterate over each element in the data structure. For each iteration the node will output the element itself, the key (either the list index or the dictionary key), and a loop event. When the loop is finished, the node will output a finished event.

Inputs

InputTypeDescriptionDefault
ObjectList | DictionaryAn iterable object to loop over.-
RunEventStart the loop-

Outputs

OutputTypeDescription
ElementAnyThe current element in the loop
KeyNumber | StringWill be either the list index or the dictionary key, depending on the type of iterable.
LoopEventFires for every element in the loop
FinishedEventFires when the loop has finished

Examples