Phaser API Documentation

  Version: 
deltaY()

Description:

The change in this Body's vertical position from the previous step. This value is set during the Body's update phase.

As a Body can update multiple times per step this may not hold the final delta value for the Body. In this case, please see the deltaYFinal method.

Returns:
Description:

The delta value.

Type:
  • number
Since: 3.0.0