How to only check when button is pressed (rather than TimeSinceSubmit)

On slide 5 of this activity,
we are dragging numbers onto a number line.
We want students to not know if they are correct until they click the button.
If they are wrong, then we want them to have to reset button before they find out if they are correct. Right now, after clicking button, they get oops, keep dragging points and immediately find out if correct without having to click button again.
So is there a way to only show results when button is pressed instead of basing it off the time that has passed?

Input:

I found this comment about modulo, but it doesn’t seem to count correctly.

What you probably want to do is create two versions of the point, only one of which is draggable. Display the draggable point until the button gets pushed. Here’s a sample of how it might be done. Draggable vs nondraggable • Activity Builder by Desmos

1 Like

Thank you.
I had the button reset label defined. But I didn’t program a label for the button. So clicking “reset” wasn’t setting the press count back to 0?
I also used your suggestions for a set of non-draggable points.
Thanks again!

I have some examples of reset buttons that I’ve used. Usually defining a variable in the graph component using mod. I can post it here when I’m at a laptop. If you think that will help.

You might also find some help here: Reset Action Button with User Movement

1 Like