Collider:getWorld

Returns the World the Collider is in.

world = Collider:getWorld()

Arguments

None

Returns

NameTypeDescription
worldWorldThe World the Collider is in.

Notes

Colliders can only be in one World at a time.

See also