While events

While events are a special kind of events : As long as the While conditions are true, the event is repeated, without interruption ( i.e : next events are not executed and the screen is not refreshed ).

They can be used to repeat actions as long as a condition is true.

Be careful, if the While conditions are always true, the events will be repeated indefinitely and the game will be frozen. In the editor, GDevelop will display a message to ask you if you want to stop the preview if a such events is repeated for more than 100 000 times. You can deactivate this warning by double clicking on the event.