---
title: Stop Sound
description: "Play 0x77, server → client."
---

`play` · `0x77` · **clientbound** (server → client)

Stops sounds playing on the client. `flags` select whether a `source` category and/or a specific `sound` ID are given; with neither, all sounds stop. The server sends it for `/stopsound`.

Sent by the server, read by the client. Listen for it with `client.on("StopSound", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `flags` | Byte |  |
| `source` | Struct |  |
| `sound` | Struct |  |

## Send it

```ts
await client.sendPacket("StopSound", {
  flags: /* Byte */,
  source: /* Struct */,
  sound: /* Struct */,
});
```

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/StopSound.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/StopSound.ts)
