Hide and show on basic desmos

How do I make a click function that hides and shows things on a normal desmos graph

Simplest toggle is to use a mod function for your action. Not sure what you want to click, but actions can be attached to points, polygons, and images.