Google Classroom
GeoGebraGeoGebra Classroom

Check box in 3D view

Description

Add a text that looks like a "checkbox" to show or hide objects. Solution by Rami from the GeoGebra forum: https://help.geogebra.org/topic/checkbox-in-3d-view

Script Part I

A = (0,0,0) B = (2,0,0) a = Sphere(A, B) ShowObjBool = false Checkbox = ""+If(ShowObjBool, UnicodeToLetter(9745), UnicodeToLetter(9744))+" CheckBox"

Script Part II

#In the text we need to add the following script on the click tab: SetValue(ShowObjBool, !ShowObjBool)

Demo