Skip to content
lsl.devlsl.devLSL Dev

llStopSound

function
Function syntax
llStopSound();
Energy
10

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

How to use
llStopSound();
  • There is no way to stop a specific sound.
  • In a linked set use llLinkStopSound to stop sound in a specific prim.
Example 1
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!!
}
}

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

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.