Difference between revisions of "B2.MouseJoint:setTarget"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Updates the target point.<br /> | Updates the target point.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
b2.MouseJoint:setTarget(x,y) | b2.MouseJoint:setTarget(x,y) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''x''': (number) x coordinate of the target point <br/> | + | '''x''': (number) <translate>x coordinate of the target point</translate> <br/> |
− | '''y''': (number) y coordinate of the target point <br/> | + | '''y''': (number) <translate>y coordinate of the target point</translate> <br/> |
Revision as of 13:32, 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