Collider:getWorld

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 be in one World at a time.

See also