How to draw a path so that game object is following it?

Hi. I am working on a landscape 2D game that requires a ball to be moved on the mouse drag. A line has to be drawn on mouse drag so that the ball will move freely with it. I tried to use iTween but I didn’t know what to do with it. I am new to Unity.

Seeking your kind help.

What you can do is keep a list of points as you drag (the more the better, for smoothness), and then have your object move forward each point in succession.