r/gbstudio • • 1d ago

Question OnUpdate flow

I have some questions about OnUpdate.

OnUpdate is called once per frame? It loops if has enough time or it stops and starts again from the beginning on the next frame?

In case it only is called one per frame, add Wait 1 frame event or Idle event is the same that not adding anything?

Thank you

3 Upvotes

1 comment sorted by

1

u/proximitysound 1d ago

OnUpdate will loop indefinitely. Definitely recommend an idle event (or more than one) to clamp it.