Physics.Arcade.Body#deltaY()

deltaY() → {number}

Returns the delta y value. The difference between Body.y now and in the previous step.

Returns
number -

The delta value. Positive if the motion was downwards, negative if upwards.

Source code: physics/arcade/Body.js (Line 1281)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.