Moveable Line from Student Generated Value

Can someone help me figure out how to make the horizontal line on on slide 2 move up/down? I want it to start at the students guess from slide 1 but then I want the student to be able to move it from there.

Carry over your value from slide 1:

number(`a`): input1.numericValue

Then, make a slider, b, in the second graph, initially set to 0. Make a point (you may need to set to vertically moveable), and create a line based on the y coordinate:

b=0
P=(50,a+b)
y=P.y

You’ll also need to either change your scale to 1-100 (since the numericValue will not convert your percentage automatically), or divide a by 100 (most easily done in the graph, not the CL).

Perfect! Thank you!!!