B2.MouseJoint:setTarget: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
b2.MouseJoint:setTarget(x,y) | b2.MouseJoint:setTarget(x,y) | ||
</source> | </source> | ||
'''x''': (number) x coordinate of the target point | === Parameters === | ||
'''y''': (number) y coordinate of the target point | '''x''': (number) x coordinate of the target point <br/> | ||
'''y''': (number) y coordinate of the target point <br/> | |||
Revision as of 09:37, 23 August 2018
Available since: Gideros 2011.6
Description
Updates the target point.
b2.MouseJoint:setTarget(x,y)
Parameters
x: (number) x coordinate of the target point
y: (number) y coordinate of the target point