B2.Body:getPosition
From GiderosMobile
Available since: Gideros 2011.6
Returns the world body origin position.
(number), (number) = b2.Body:getPosition()
Returns (number) x coordinate of the body position
Returns (number) y coordinate of the body position