World:getColliders

Returns a table of all Colliders in the World.


colliders = World:getColliders()

Arguments

None

Returns

NameTypeDescription
colliderstable A table of Collider objects.

colliders = World:getColliders(t)

Arguments

NameTypeDescription
ttable A table to fill with Colliders and return.

Returns

NameTypeDescription
colliderstable A table of Collider objects.

See also