Phaser API Documentation

  Version: 
getDelta([tick])

Description:

Internal method that calculates the delta value, along with the other timing values, and returns the new delta.

You should not typically call this method directly.

Parameters:

name type arguments Default description
tick boolean <optional> false

Is this a manual tick, or an automated tick?

Returns:
Description:

The new delta value.

Type:
  • number
Since: 3.60.0