Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How often do loops repeat in game maker? Is it every step, or as fast as it can handle? I need it to loop every step, is it possible to do that? I'm talking about in code, I have a do until loop. Just interested in the facts, here.

share|improve this question
Can you provide more information about the problem you're trying to solve? – Josh Petrie Apr 17 '13 at 4:35

The entire loop will process every time the script that contains it is called. This happens inside a single frame.

share|improve this answer
So every time a script (or D&D) that has the loop gets called, the loop will be executed until its finished. For example if you put the loop inside the "Create" event, it will get called once upon creation If you put it inside step, it will be called every frame (and you decide the framerate based on room_speed) – Jeff Apr 17 '13 at 17:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.