Difference between revisions of "B2.MouseJoint:setTarget"
From GiderosMobile
| 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 10: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