Shape.setCollisionSoundEnabled
Sets if the shape should generate sound on collisions.
Kind: Function
Environments: Game
Game
shape:setCollisionSoundEnabled( enabled )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
enabled |
boolean | Whether the sound should be enabled or not. |