B2.Body:getPosition

From GiderosMobile
Revision as of 10:57, 3 September 2018 by Hgy29 (talk | contribs)


Available since: Gideros 2011.6
Class: b2.Body

Description


Returns the world body origin position.

(number), (number) = b2.Body:getPosition()

Return values

Returns (number) x coordinate of the body position
Returns (number) y coordinate of the body position