Get multiple sliders to interact with each other / Triggers running in succession

Feb 15, 2024

I want to demonstrate the relationship between three variables. I created a slide with three sliders, one for each variable, and designed all slider properties to have the same attributes. My goal is for the user to move the sliders around to teach them how to balance the three variables (i.e., how changing one variable requires you to modify one of the other two to find equilibrium). I created triggers for one of the three sliders but I cannot figure out how to get three separate sliders to interact with each other. I tried creating a new variable to track the "previous" value of a slider, but the trigger that sets the value of the "previous" variable runs concurrently with the change of the slider variable, so these variables are always the same. Is it possible to create triggers that run in succession rather than in parallel? Any advice on how to solve this problem? Thanks!

1 Reply
Judy Nollet

Hi, Nathan,

I did something similar using just two sliders, which demo adjustments to Brightness and Contrast. You can see it in action here: Adjusting Brightness and Contrast | Review 360 (articulate.com) 

I'm not willing to share that file. But I'll explain how the programming works.

  • Each slider has a trigger that toggles a T/F variable. The value doesn't matter. What matters is that the variable changing can be the "when" in triggers.
  • There is a separate trigger to show the appropriate image for each possible combination of slider values. I see you put your images in States. I put mine on different layers. The user can't tell, so that's a matter of preference. 

I did my Brightness/Contrast project just to figure out the programming. That's why I kept it simple, with only 5 possible values per slider.

Since your project is much more complicated (3 sliders, each with 10 steps), you'll need a lot more image variations and triggers. But the same basic programming will work.