Google Classroom
GeoGebraGeoGebra Classroom

Example using RunClickScript to emulate a subroutine

This example shows a way to use a object's 'On click' script as a subroutine, which can be called using RunClickScript[] from elsewhere.