3.2.8. Loop
The Loop node can recursively call the node a specified number of times as set in the node.
Node Input
The Loop node can input elements of the Array type. The start position of the loop node must be less than or equal to the end position, and the step size must be less than or equal to the start position.
To achieve recursive looping, the user needs to connect from the Body of the Loop node to the input of the specified node. When connected to the input of a node, it will automatically form a loop (except for the Loop node and Condition node).
After connecting, the input elements of the node connected to the Body can choose the index value of the Loop node or item in history.
Node Output
The output of the Loop node will output an array composed of all the values output from the Body part. For example, in the following program, the output of the Loop node is as shown below.