Shape:getCollider

Edit

Returns the Collider the Shape is attached to.

collider = Shape:getCollider()

Arguments

None

Returns

NameTypeDescription
colliderCollider The Collider the Shape is attached to.

Notes

A Shape can only be attached to one Collider at a time.

See also