Google Classroom
GeoGebraGeoGebra Classroom

Adding points to list by clicking

In Global JavaScript

function ggbOnInit() { ggbApplet.evalCommand("Sx = {}"); ggbApplet.registerAddListener("listener"); } function listener(obj) { if (ggbApplet.getObjectType(obj) == "point") { ggbApplet.evalCommand("SetValue(Sx, Length(Sx) + 1, " + obj + ")"); } }