DougRoberts-6c3
10 hours agoCommunity Member
Why can toggling a variable trigger audio on hidden layers?
I have a course where I want a button to toggle voiceover on or off for users. To this end I used a button on a master slide that toggles a variable, then audio on individual slides starts or stops depending on whether the variable changes to true or false.
I thought this would work fine until I discovered that audio on all layers plays regardless of whether or not the layer is shown.
I made a demo Story here -- the slide has a base layer with a button to toggle a variable, and a second layer with audio that plays or stops when the variable changes.
Result: audio on the hidden layer plays when the variable changes to True.
Expected result: only audio on visible layer(s) plays.