For the line drawing blocks, see this Gallery project ...
The slider in that progress was used only to supply input
to test the line drawing on the canvas.
Your problem is how to invert the control flow, and eliminate
the slider entirely.
You don't need a sprite for this.
The Canvas itself has a touch Up event and a drag event.
You can redraw the line during the drag, but only
send the results from the Touch Up event.
ABG