World:getColliders

Returns a table of all Colliders in the World.

colliders = World:getColliders()

Arguments

None

Returns

NameTypeDescription
colliderstableA table of Collider objects.

colliders = World:getColliders(t)

Arguments

NameTypeDescription
ttableA table to fill with Colliders and return.

Returns

NameTypeDescription
colliderstableA table of Collider objects.

See also