Category: 2D Game Physics (Pro)
BodyVelocityY(body As Integer)
Double
Returns the body's vertical velocity in pixels per second.
Invalid handles return 0.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
If BodyIsColliding(player) Then DebugPrint Str(BodyVelocityY(player))