Category: 2D Game Physics (Pro)
BodyY(body As Integer)
Integer
Returns the body's current center Y coordinate rounded to the nearest game pixel.
Invalid handles return 0.
Pro feature: compiling code that uses this function requires a license with the GamePhysics feature enabled.
DrawImage playerImage, BodyX(player), BodyY(player)