object:getGroundAnchorA()

Type Function
Object Joint
Library physics.*
Return value Numbers
Revision Release 2024.3703
Keywords getGroundAnchorA
See also object:getGroundAnchorB()
Physics Joints (guide)

Overview

Returns the x and y coordinates of a "pulley" joint's first ground anchor in content coordinates.

Syntax

joint:getGroundAnchorA()

Example

local agx, agy = myJoint:getGroundAnchorA()