Body.isDestructable

Check if a body is destructable.

Kind: Function

Environments: Game

Game

body:isDestructable(  )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
boolean Return true if the body is destructable.