[SOLVED] Event to fire for each 'game loop' or screen render?

I am looking for a way to execute a JS code block for each game render loop, or screen redraw, or ‘game tick’ (a term used in other game ide’s).

So a 60FPS game would call this 60 times in a second, preferably to execute after all else is done.

Is there an event that covers this ?

I thought about using a timer, but they appear to work in ‘seconds’ only if i am not mistaken.

Haha - solved it - just add no condition at all :smiley: lol

Indeed events in event sheet are called for each frame/tick :wink:

1 Like