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