Shape:setPosition

Set the position of the Shape relative to its Collider.

Shape:setPosition(x, y, z)

Arguments

NameTypeDescription
xnumber The x offset.
ynumber The y offset.
znumber The z offset.

Returns

Nothing

Notes

If the Shape isn't attached to a Collider, this will error.

See also