GeoGebra Script: On Click
Button icon is very convenient, but you may use object which is clickable.[br][br]This button has a script in "On Click" term:[br][code](RandomBetween[1, 6], RandomBetween[1, 6])[br][/code][br]Right click -> Object Properties -> Scripting
Information: GeoGebra Script: On Click