Forum Discussion

johnfaulkes's avatar
johnfaulkes
Community Member
9 months ago

Quizzing challenge - ideas appreciated

I have three buttons on an SL slide. Each one when activated plays a ten-second snippet of music for people to guess. Some folks will guess within one or two seconds. There is a neat way to make this more responsive by triggering the audio to start on mouse-hover, then I can set it to stop on mouse-out. 

But this won't work on touch-screen devices? I need to do it with mouse click. Is there any neat way to replicate the mouse-out-stop behaviour with clicks?

  • Hi John,

    You can use "Down" state for that trick. 
    Play the audio when state of the button is "Down". Pause(or Stop) the audio then state of the button isn't "Down".