After changing a slider the animation turns off

MalinC shared this question 3 years ago
Answered

After changing the value of a slider, the animation of that slider turns off, even after I've added

StartAnimation()

as OnUpdate event.

Why?

This example: https://www.geogebra.org/m/tsjnruhx

used to work. Now it doesn't (unless you right-click in a slider after changing its value, to turn animation on).

Cheers

Malin

Comments (2)

photo
1

Instead of "StartAnimation()" use in onUpdate: StartAnimation(%0, true)

Note: %0 stands for the name of the object in which this script is located.

photo
1

That works!

Thanks a lot!

© 2022 International GeoGebra Institute