How to drag a 2d screen element on touch move?


#1

Can someone please help me with this? I am trying to implement a slider. The slider is an image on the 2d screen and I want to move it on touch. How can I achieve this?