[Suggestion] Alternate method for breaking out of an array loop

Currently, the ForEachWithLoop node requires the creation of an external event to break out of the loop. This can be… irritating, not to mention inefficient.

I would like to suggest adding a new input pin to the Array node. This pin would accept a boolean condition that, while true (or false, depending on how you want to set it up), would continue to loop through the array. Essentially, this would combine the functionality of a while loop with that of a ForEachWithBreak loop without requiring the addition of more nodes to the graph and without requiring events to be fired to trigger the break.

1 Like