Type Function Object Joint Library physics.* Return value Numbers Revision Release 2024.3703 Keywords getGroundAnchorA See also object:getGroundAnchorB() Physics Joints (guide)
Returns the x and y coordinates of a "pulley"
joint’s first ground anchor in content coordinates.
joint:getGroundAnchorA()
local agx, agy = myJoint:getGroundAnchorA()