Forum Discussion
MichelleDeere
5 years agoCommunity Member
Don't want Text-to-speech to play automatically
Hi,
I would like my storyline course to run without automatically playing the text-to speech audio I have added to each slide. If the learner requires the audio they can then turn it on rather tha...
WhitneyHall-705
7 months agoCommunity Member
Hello Leslie,
I looked that the example. One question I have is for Scene 2. Is there a way to get the button to toggle back and forth between on and off?
EricSantos
7 months agoStaff
Hello WhitneyHall-705,
I'm happy to help with this! I understand you'd like the button in Scene 2 to toggle between on and off.
I recommend the following changes to Leslie's project file:
- Modify the text to reflect the toggle action.
- Change the trigger action to "Toggle Audio."
- Add a condition in the "Play audio" trigger to test whether the "Audio" variable has a value of "True" and an "Else" statement to stop the audio if it is "False."
You can find these modifications in the attached project file.
Please don't hesitate to reach out if you have additional questions.
Related Content
- 8 months ago