Shape:getCollider

Returns the Collider the Shape is attached to.

collider = Shape:getCollider()

Arguments

None

Returns

NameTypeDescription
colliderColliderThe Collider the Shape is attached to.

Notes

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

See also