Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gdevelop:documentation:manual:while_events [2015/05/18 12:28] (current)
Line 1: Line 1:
 +====== 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.
 +
 +<note warning>​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.
 +</​note>​