Phaser API Documentation

  Version: 
getDurationMS()

Description:

Gets the duration which the game has been running, in ms.

Returns:
Description:

The duration in ms.

Type:
  • number
Since: 3.17.0
Source: src/core/TimeStep.js (Line 674)