For Each Loop with break, Branch and logic behind, what did i do wrong here ?


i have this blueprint i’m trying to fixing it.
what i thought is after (5) my looping will back with Completed output pin of For Each Loop with break node then come back with my logic before For Each node.
But after running in PIE, i saw the flow going to 5, then back to (2) then come to (6) and continued my logic behind to come with Break ( For Each Loop with Break ) logic behind.
What did i misunderstood here ?
Some one help me please, thanks for reading sirs. :hugs:

1 Like

It shouldn’t. The loop will Complete when you Break it. Or when it’s done with the last element. If you want it to Complete after 5, Break there.

1 Like

Thanks for answer bro. :heart_eyes:
Can i asking as in screenshot, what should i do more or as in screenshot it’s already break at (5) ?
Because as i saw it wasn’t stop at (5), why it come back to Branch and continues flow at (6) ?

1 Like

Why would it stop at 5? You did not ask it to:

How is the loop supposed to know that you want it to stop after than Add node? If you want to stop after 5 executes:

image

1 Like

Thank you so much for help me clearly this <3
I thought if not have logic behind last node, it will auto complete there and continues with logic behind Completed output pin.
Thanks bro :smiling_face_with_three_hearts:

1 Like

Nah, it will continue as if nothing happened until you Break it.

1 Like

Thanks bro :smiling_face_with_three_hearts: :smiling_face_with_three_hearts: :smiling_face_with_three_hearts:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.