Body.getShapeCount

Returns the number of shapes in a body.

Kind: Function

Environments: Game

Game

body:getShapeCount(  )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
integer The number of shapes in the body.