Phaser API Documentation

step(time, delta)


Internal method, called automatically by the game step. Monitors the elapsed time and resize interval to see if a parent bounds check needs to take place.


name type description
time number

The time value from the most recent Game step. Typically a high-resolution timer value, or

delta number

The delta value since the last frame. This is smoothed to avoid delta spikes by the TimeStep class.

Since: 3.16.0