Body.isGhost

Check if the body is a ghost body.

Kind: Function

Environments: Game

Game

body:isGhost(  )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.

Returns:

Type Description
boolean Returns true if the body is a ghost body.