Body.isGhost
Check if the body is a ghost body.
Kind: Function
Environments: Game
Game
body:isGhost( )
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| boolean | Returns true if the body is a ghost body. |
Check if the body is a ghost body.
Kind: Function
Environments: Game
body:isGhost( )
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
Returns:
| Type | Description |
|---|---|
| boolean | Returns true if the body is a ghost body. |