How do I stop an Animation when certan conditions are met?

kyrGs shared this question 3 years ago
Needs Answer

I want to stop automatically an animation when two points are met. How I can do it? I tried StartAnimation(E,(if(condition)),FALSE,TRUE) but doesn't work. And also where I set the condition as a script? In the Point or in the Start Button? Any help please?

© 2023 International GeoGebra Institute