World:getBodies

Available since LÖVE 11.0
It has renamed from World:getBodyList.

Returns a table with all bodies.

Function

Synopsis

bodies = World:getBodies( )

Arguments

None.

Returns

table bodies
A sequence with all bodies.

See Also


Other Languages