Phaser API Documentation

  Version: 

Member of: Phaser.Game

getTime()

Description:

Returns the time that the current game step started at, as based on performance.now.

Returns:
Description:

The current game timestamp.

Type:
  • number
Since: 3.16.0
Source: src/core/Game.js (Line 625)