Forum Discussion
Issue with capturing data from a slider
This trigger (and all the ones like it) has confused me, SL, and I'm sure you. You need to give sliders and variables different names. I recommend something like Slide X and SliderX Variable at the very least. Much better is to name the variable to reflect the data they actually contain, like powerImportancePercentage. Good names prevent the confusion that exists in triggers like this:
Which Slider58 is being set to which Slider58?
Click on the first Slider58, and you will see that it refers to a project variable. Click on the second, and you will see that it refers to the same project variable, essentially setting this variable to what it already is.
This variable is set to itself when the slider loses focus, but isn't connected in any way to the slider.
Variables and sliders work together without triggers from you. When the slider moves, the attached variable changes. You can tell what variable is attached by selecting the slider, clicking Design and looking for the Variable box. If you slide the slider, the variable changes. If a trigger changes the variable, the slider moves to match it. You probably don't need any of those triggers.