Forum Discussion
making a bar graph animate up and down as you move a slider
Hi,
I've downloaded the Slider_Controlled_2-Way_Motion_Path (1).story that you can find above and replicated it in the module i'm creating.
Everything works perfectly but there's something i don't understand. There are two variables, Slider1 and PreviousPosition. PreviousPosition is set to be equal to Slider1 when Slider1 moves.
Therefor, how come the rectanglemoves whereas there are no triggers where Slider1 and PreviousLocation are equal. For instance, it says :
move Rectangle 2 along Line Motion Path 7
When Slider 1 changes
If Slider1 = value 1
and PreviousLocation = 0
How is it possible to have Slider1 = 1 and PreviousLocation = 0 whereas we've said that PreviousLocation was equal to Slider 1 ...
It gaves me a headache trying to figure out why it works. If someone can help me ...
Thank you !