Body.setUsable
Controls whether a body is interactable
Kind: Function
Environments: Game
Game
body:setUsable( value )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
value |
boolean | Whether the body is interactable. |