Buttons on Graph

I have one last problem to solve for the project I’m working on.

I wish to set the graph to a specific zoom state when the student presses the Desmos Default Zoom button on the graph.

I can’t find what to call that button in CL but have guessed it from what Desmos calls it when I hover the mouse over it, but it’s obviously wrong.

By snippet of code looks like this:

bounds:
when DefaultZoom.timeSincePress > 0
makeBounds(-200,this.number(c_3),this.number(c_2),this.number(c_1)).squareLeft()
otherwise makeBounds(-200,this.number(c_3),this.number(c_2),this.number(c_1)).squareLeft()

The error message says it doesn’t like DefaultZoom.

Could someone put me right in my ways.

Cheers

Garry

All of the button CL code is for button components you add to a slide. There are no codes for buttons within the graph.

Daniel

Thanks for the education.

Cheers

Garry