Type Function Object Joint Library physics.* Return value Numbers Revision Release 2024.3703 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 )