Phaser API Documentation

  Version: 
elapsed: number

Description:

The time in milliseconds which has elapsed since the Timer Event's creation.

This value is local for the Timer Event and is relative to its Clock. As such, it's influenced by the Clock's time scale and paused state, the Timer Event's initial #startAt property, and the Timer Event's #timeScale and #paused state.

Type:
number
Default: 0
Since: 3.0.0
Source: src/time/TimerEvent.js (Line 119)