Type Function Object Joint Library physics.* Return value Numbers Revision 2017.3060 Keywords joint, getTarget See also object:setTarget() Physics Joints (guide)
Returns the current target coordinates of a "touch"
joint as specified by object:setTarget().
object:getTarget()
myJoint:setTarget( 100, 225 ) local tx, ty = myJoint:getTarget() print( tx, ty )