Do-While or For-Next loop in GDevelop

Hi,

Can anyone tell me how to use a loop in GDevelop? For e.g., if I want to run a piece of logic ‘n’ number of times or till a particular condition is met (e.g. Counter > Threshold), what is the best way to do it?

Appreciate your help!

Thanks,
Samik.

You may be looking for repeat or while events.

2 Likes

That’s EXACTLY what I was looking for! Thanks Joshua!!