Disable Sketch after submit

Is there a way to disable further sketches after a button has been pressed to submit?

I’ve figured out how to take a table and send it to the graph via a button. I want them to sketch a curve through the points, then click another button that will put the correct curve there.

I’ve got everything figured out except the ability to block further sketches. Sort of like how the table can be grayed out after the button to send those points to the graph is pressed.

There is a sink for sketch components called disableSketch.

So if the button is called btn then you could have some code on the sketch like this.

disableSketch: btn.timeSincePress > 0

2 Likes

worked perfectly, thank you

1 Like