# llStopSound

*LSL function*

```lsl
void llStopSound();
```

- Energy: 10

Stops the attached sound(s) currently playing, if they were started by [llLoopSound](/functions/llLoopSound/)

```lsl title="How to use" frame="terminal"
llStopSound();
```

## Caveats

- There is no way to stop a specific sound.
- In a linked set use [llLinkStopSound](/functions/llLinkStopSound/) to stop sound in a specific prim.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
default
{
    state_entry()
    {
        llLoopSound("string soundname if in object inventory or UUID", 1.0);
    }
    touch_start(integer total_number)
    {
        llStopSound();//As if by magic the sound stops!!
    }
}
```

</details>

## Related functions

The original wiki page documents these functions together with this one:

- [llLinkStopSound](/functions/llLinkStopSound/)

## See also

### Functions

- [llSound](https://wiki.secondlife.com/wiki/LlSound) — 3=This function has been deprecated, please use [llPlaySound](/functions/llPlaySound/) instead.
- [llPlaySound](/functions/llPlaySound/)
- [llPlaySoundSlave](/functions/llPlaySoundSlave/)
- [llLoopSound](/functions/llLoopSound/)
- [llLoopSoundMaster](/functions/llLoopSoundMaster/)
- [llLoopSoundSlave](/functions/llLoopSoundSlave/)

---

*Source: [LlStopSound](https://wiki.secondlife.com/wiki/LlStopSound) on the Second Life Wiki. Content from the Second Life Wiki articles LlStopSound (revision 1213225, 2023-02-03) and Template:LSL Function/link-face (revision 1186827, 2014-01-12), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/functions/llStopSound/
