Phaser API Documentation

  Version: 
update(time, delta)

Description:

The main update loop for this effect. Called automatically by the Camera.

Parameters:

name type description
time number

The current timestamp as generated by the Request Animation Frame or SetTimeout.

delta number

The delta time, in ms, elapsed since the last frame.

Examples:
Since: 3.23.0