Body.destructable
Check if a body is destructable.
Kind: Member
Environments: Game
Game
Get
Check if a body is destructable.
Returns:
| Type | Description |
|---|---|
| boolean | Return true if the body is destructable. |
Set
Availability: Server only
Controls whether a body is destructable
Parameters:
| Name | Type | Description |
|---|---|---|
value |
boolean | Whether the body is destructable. |