Forum Discussion
RebeccaWheeler-
2 years agoCommunity Member
Trigger Slider Changes Via Checkboxes
Hi everyone.
I've created a slide with a "stress meter" built from a slider. My goal is to have the stress meter level move up and down in response to the learner check and un checking the questi...
JudyNollet
2 years agoSuper Hero
When you insert a slider, Storyline automatically creates a variable (default name: Slider1) to track its value.
- A trigger that adjusts the value of the variable will move the slider.
- That adjustment can be made when a checkbox is clicked.
- You can prevent users from dragging the slider by putting a 99% transparent shape over it.
The attached file demos how to move the slider when a checkbox is selected or deselected.
- The slider goes in one direction when a checkbox is selected, and goes in the other direction when it is deselected.
- I included a text box (VAR REF) that shows the value of the slider. That helps when developing and troubleshooting, because you can see whether the variable is adjusting as expected. When the slide is ready, you can either move that text off the slide or hide it, so it won't show to the user but will be available for future testing. Or just delete it.
Here's more info about trigger conditions and variables: