Changing the Visibility of Newly Created Objects

In the Properties Dialog, you can enter a condition for the visibility of an object on tab ‘Advanced’.

Note: You can select the logic operators (e.g., , , ˄, ||) from the drop down menu in order to create your conditional statements.

 

Examples:

·        If a is a slider, then the conditional statement a < 2 means that the corresponding object is only shown in the Graphics View if the slider’s value is less than 2.

·        If b is a Boolean variable, you can use b as a conditional statement. The corresponding object is shown whenever the value of b is true and is hidden when the value of b is false.

·        If g and h are two lines and you would like a text to be shown whenever these lines are parallel, then you could use g || h as a conditional statement for the text.


www.geogebra.org