Collider:getWorld

Edit

Returns the World the Collider is in.

world = Collider:getWorld()

Arguments

None

Returns

NameTypeDescription
worldWorld The World the Collider is in.

Notes

Colliders can only ever be in the World that created them.

See also