Forum Discussion
Using slider to show layers
When you insert a slider, the program automatically creates an associated number variable (for example, "Slider1"). The value of that number variable can be used in triggers.
- When you change the Start and/or End properties of a slider, that changes the range of numbers the slide will use for the value of the variable.
- When you change the Initial property, that changes the default value of the variable (that is, the number it holds before the slider is moved).
- When you change the Step property, that changes the increments used within the range of numbers of the variable.
- Thus, when you change any of those properties, triggers with conditions based on the variable's value would need to be edited accordingly.
A slider and its variable can be quite useful for demonstrating what happens within a range, such what happens when a thermometer or other gauge moves up or down.
However, you can't force a user to stop at each designated step in a slider. I think that makes them a poor tool for displaying layers. Sure, it can be done by showing a layer based on the value of the slider variable. But if the user moves the slider fast, they won't see the content. And the program could mess up trying to show and hide layers too quickly.
I suggest you used discrete buttons to show the layers instead.