World:getBodyCount

Get the number of bodies in the world.

Function

Synopsis

n = World:getBodyCount( )

Arguments

None.

Returns

number n
The number of bodies in the world.

See Also

Other Languages