Difference between revisions of "B2.MouseJoint:getTarget"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Returns the x and y coordinates of the target point.<br /> | Returns the x and y coordinates of the target point.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
(number), (number) = b2.MouseJoint:getTarget() | (number), (number) = b2.MouseJoint:getTarget() | ||
</source> | </source> | ||
=== Return values === | === Return values === | ||
− | '''Returns''' (number) x coordinate of the target point<br/> | + | '''Returns''' (number) <translate>x coordinate of the target point</translate><br/> |
− | '''Returns''' (number) y coordinate of the target point<br/> | + | '''Returns''' (number) <translate>y coordinate of the target point</translate><br/> |
Revision as of 13:38, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the x and y coordinates of the target point.
(number), (number) = b2.MouseJoint:getTarget()
Return values
Returns (number) x coordinate of the target point
Returns (number) y coordinate of the target point