Do-While or For-Next loop in GDevelop


#1

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.


#2

You may be looking for repeat or while events.


#3

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