Difference between revisions of "B2.MouseJoint:getTarget"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the x and y coordinates of the target point.<br /> <br /> <source lang="lua"> (number)...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number) (number), = b2.MouseJoint:getTarget()
+
(number), (number) = b2.MouseJoint:getTarget()
 
</source>
 
</source>
 
'''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 10:17, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the x and y coordinates of the target point.

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

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