Body:getShapes

Available since LÖVE 12.0
It has replaced Body:getFixtures.

Returns a table with all Shapes attached to the Body.

Function

Synopsis

shapes = Body:getShapes( )

Arguments

None.

Returns

table shapes
A sequence with all shapes.

See Also

Other Languages