I have been trying to animate a slider.
What I want it to do is to get a new value at the current frame,
and add a key the frame just before at another value when a button is pressed.
this is my script:
at time slidertime-1 animate on slider.value = 0
at time slidertime animate on slider.value = 100
The problem is it just adds the last sentence when I press the button.
Thanks in advance.