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