Phaser API Documentation

Event: STEP


The Game Step Event.

This event is dispatched after the Game Pre-Step and before the Scene Manager steps. Hook into it from plugins or systems that need to update before the Scene Manager does, but after the core Systems have.


name type description
time number

The current time. Either a High Resolution Timer value if it comes from Request Animation Frame, or if using SetTimeout.

delta number

The delta time in ms since the last frame. This is a smoothed and capped value based on the FPS rate.

Since: 3.0.0