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