Add a text that looks like a "checkbox" to show or hide objects.[br][br]Solution by [url=https://www.geogebra.org/u/rami]Rami[/url] from the GeoGebra forum:[br][br][url=https://help.geogebra.org/topic/checkbox-in-3d-view]https://help.geogebra.org/topic/checkbox-in-3d-view[/url]
A = (0,0,0)[br][br]B = (2,0,0)[br][br]a = Sphere(A, B)[br][br]ShowObjBool = false[br][br]Checkbox = ""+If(ShowObjBool, UnicodeToLetter(9745), UnicodeToLetter(9744))+" CheckBox"
[code]#In the text we need to add the following script on the click tab:[br][br]SetValue(ShowObjBool, !ShowObjBool)[br][br][/code]