Counting and Conditional Visibility

elimboto shared this question 2 years ago
Answered

I'm stuck on something that may be obvious to others. I'm creating an applet to visualize counting from 1 to 9. So I create a slider of Natural numbers, N = 1, ..., 9, and I also create the associated 9 objects, such that N = 1 on the slider should be associated with a condition that shows/displays one object, N = 2, two objects,..., N = 9, nine objects. How do I set up the conditional visibility?


Thanking you in advnce,


Elimboto

Comments (3)

photo
1

Bonjour ,

sans être sûr d'avoir compris la question , une piste à compléter pour 10 objets

Cordialement

photo
1

Just to make it clear for elimboto, in the object properties -> Advanced there is a field "Condition to show object". For example, your 5th object should just have "N>4" or "N>=5" or some such in there, then it it is hidden as long as your slider is below 5. Like in the file posted by frndmrsl.

photo
1

Thank you. Correct.

photo
© 2023 International GeoGebra Institute