Button Tool
From GeoGebra Manual
Activate the tool and click in the Graphics View to insert a button. In the appearing dialog you may set its caption and OnClick script.
Activate the tool and click in the Graphics View to insert a button. In the appearing dialog you may set its caption and OnClick script.