Collider:getPosition

Returns the position of the Collider.

x, y, z = Collider:getPosition()

Arguments

None

Returns

NameTypeDescription
xnumber The x position of the Collider, in meters.
ynumber The y position of the Collider, in meters.
znumber The z position of the Collider, in meters.

See also