Difference between revisions of "B2.MouseJoint:getTarget"

From GiderosMobile
Line 8: Line 8:
 
(number), (number) = b2.MouseJoint:getTarget()
 
(number), (number) = b2.MouseJoint:getTarget()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) x coordinate of the target point<br/>
 
'''Returns''' (number) x coordinate of the target point<br/>
 
'''Returns''' (number) y coordinate of the target point<br/>
 
'''Returns''' (number) y coordinate of the target point<br/>

Revision as of 11:44, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the x and y coordinates of the target point.

(number), (number) = b2.MouseJoint:getTarget()

Return values

Returns (number) x coordinate of the target point
Returns (number) y coordinate of the target point