Is there a way to mute a listener temporarily?

Can you temporarily mute a listener? For example, if you have a background with a listener, and you overlay something over part of that background with another listener? I wouldn’t want the user to be able to trigger the background listener if they tapped off the foreground overlay and its listener?

So, can I say bg:mute or some other command to tell it to go silent until I unmute it?

I would hate to have to recreate the background and it’s listener just to put up a pop-up for more info…

If not, doesn’t this appear to be a helpful function to others?

Thanks!
stu

Hi Stu,

I guess you could just conditionally return from the first line of the listener, thus preventing it from doing any other action later within it…

Brent

Hi Stu,

I guess you could just conditionally return from the first line of the listener, thus preventing it from doing any other action later within it…

Brent