Disabling Draggable Points on Button Press


I would like to prevent students from dragging the two given points of the parabola after the button is pressed. Some students are checking their work, seeing my indicator and sliding the points until the “correct” indication shows up.

Is there a way to disable the draggable points once the check my answer button is pressed?

Thanks for anyone’s time!

You’ll want to create a variable that takes on a different value when the button is pressed. I called my variable h_{ide} and added a second button to reset the answer. Then the individual point coordinates have a conditional {h_{ide}=0} test in one coordinate so they don’t appear when the button is submitted.

1 Like

Thanks so much! Works great!

1 Like