World:getColliders

Edit

Returns a list of colliders in the world. This includes sleeping and disabled colliders.

colliders = World:getColliders()

Arguments

None

Returns

NameTypeDescription
colliders{Collider} The list of Collider objects in the World.

See also