Collider:getPosition

Returns the position of the Collider.

x, y, z = Collider:getPosition()

Arguments

None

Returns

NameTypeDescription
xnumberThe x position of the Collider, in meters.
ynumberThe y position of the Collider, in meters.
znumberThe z position of the Collider, in meters.

See also