I am hoping someone can help me. I would like to lock the points in place after a student places them and submits. Is this possible? If so, how do I do it? I want students and myself to be able to see their work but not be able to change their response once they submit.
One way I can think of is to shift the point off the screen once they have submitted. For example, you can assign number("p"): b5.pressCount
to your graph. Then the point (w,s)
could be assigned (w+20p,s)
. That point will be off screen after they submit their answer. If you want a point to replace it, you could add another point at (w,s{p>0})
and make it static so it only shows up when they have submitted.
Make your movable point, A, using sliders. Make a second immovable point using same sliders. Make a number, say n, in the CL linked to the submit press count. Use that to conditionally display the movable point.
A=(x1,y1 {n=0}) (Drag should be on)
B=(x1,y1) (Drag should be off)
Graph CL:
number(`n`): button.pressCount