Answered
I have created a slider that moves an imagen from values 5 todo 0.
Now I want to make It stop automaticly when the slider takes the value 0.
Should I write a conditional script or another thing?
Thanks
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
it is better from 0 to 5, then use 5-slider instead and select increase once in properties of slider
it is possible with script if you want.
for reset the slider do a script with
setvalue[<slider>,0]
startanimation[]
the first posts are checked by developers
please, do not repeat posts thinking they are not sended
Hi cristina,
try :
https://www.geogebra.org/ma...
see in script OnUpDate slider ''q'' :
SoitValeur[p,Si[q==round(q),p+0.01,p]]
and
see in script OnUpDate slider ''p'' :
SoitValeur[q,Si[p==round(p),q+0.01,q]]
and speed of slider :
speed of p = 4 (ceil(p) - p)
speed of q = 4 (ceil(q) - q)
...
Comments have been locked on this page!