Adding points to a list as they are created

StevePhelps shared this question 5 years ago

Here is what I am trying to do. As I add points with the point tool, I want the points to be appended to a list so I can use the list to update a fitpoly function.

My problem is, how can I add the points when the name of the point is not known until creation?

Comments (2)


THAT is perfect! I have been trying to figure out why I would want to use JavaScript instead of GeoGebraScript for things. I guess this is one reason! Thanks, Michael!

© 2021 International GeoGebra Institute