> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://documentation.celestory.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🟧 Stop sound

# 🟧 Stop sound

${frame}[Video: anatomy of the Stop sound block](https://celestory-docs-videos.netlify.app/en/anatomie-bloc/stopsound.html)

![Stop sound](https://celestory-docs-illustrations.netlify.app/en/Stopsound_EN.svg)

The **Stop sound** block stops a sound that is currently playing, targeting it via a label (tag) set when that sound was launched with the Play sound block.

It's useful for interrupting a sound effect, a noise, or a voiceover before it finishes naturally, for example if the user switches to a different action before the sound ends.

## 📥 Inputs

*   **tag (Text)**: The label of the sound to stop. It must exactly match the tag used when the sound was launched with the Play sound block.

## 📤 Outputs

*   **out (Flow)**: The flow continues right after the stop command, without waiting for anything.

## 💡 Example of use

**Scenario: Cancelling a sound confirmation**

1. The user clicks "Submit" and the Play sound block starts "validation.mp3" with the tag confirmation_send.
2. Before the sound finishes, the user ends up clicking "Cancel".
3. The cancellation flow reaches the Stop sound block, configured with tag: confirmation_send.
4. The validation sound stops immediately.
5. A "Submission cancelled" message appears on screen.

## ⚙️ Technical Details

*   **Internal identifier**: `stopSound`
*   **Tag matching**: The same tag can have been used by several Play sound blocks; the Stop sound block stops every sound currently playing with that tag, even if they were started by different Play sound blocks.
*   **Empty or unmatched tag**: If the tag doesn't match any sound currently playing, the block does nothing and the flow continues normally to its output.

---

*Documented version: v1*