Phaser API Documentation

  Version: 
time: number

Description:

The time, updated each step by adding the elapsed delta time to the previous value.

This differs from the TimeStep.now value, which is the high resolution time value as provided by Request Animation Frame.

Type:
number
Default: 0
Since: 3.0.0
Source: src/core/TimeStep.js (Line 245)