Difference between revisions of "B2.MouseJoint:setTarget"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Updates the target point.<br /> <br /> <source lang="lua"> = b2.MouseJoint:setTarget(xy,) </sou...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= b2.MouseJoint:setTarget(xy,)
+
b2.MouseJoint:setTarget(x,y)
 
</source>
 
</source>
 
'''x:''' (number) x coordinate of the target point ''''''<br/>
 
'''x:''' (number) x coordinate of the target point ''''''<br/>
 
'''y:''' (number) y coordinate of the target point ''''''<br/>
 
'''y:''' (number) y coordinate of the target point ''''''<br/>

Revision as of 10:11, 23 August 2018

Available since: Gideros 2011.6

Description


Updates the target point.

 b2.MouseJoint:setTarget(x,y)

'x: (number) x coordinate of the target point '
'y: (number) y coordinate of the target point '