# Audio.update method

Sets whether the game sound should be played.

## Signature

    update(isEnabled: boolean): void;

## Parameters

| Name | Type | Optional | Description |
|---|---|---|---|
| `isEnabled` | `boolean` | No |   |

## Returns

`void`