How to turn sound off?

image

I’m trying to make an ambient sound turn off but this keeps popping up

I had to add a &pause for 0.000001 :laughing: it was pointless but I just wanted the warning gone!

You can also write @pause for 0 so no seconds at all :joy:

So example for others who come across this error:

sound FIRST_ONE
#it plays

sound off

@pause for 0

sound SECOND_ONE
#it plays

sound off

#this is an example, FIRST_ONE and SECOND_ONE are replaced with sounds that exist.

BTW I wrote this example here so i can link it for others, hope u dont mind :sweat_smile:

1 Like

Closed: Marked as solved by op @Epi.Jean :v: