Phaser API Documentation

  Version: 
deltaX()

Description:

The change in this StaticBody's horizontal position from the previous step. Always zero.

Returns:
Description:

The change in this StaticBody's velocity from the previous step. Always zero.

Type:
  • number
Since: 3.0.0