First, point your mouse in the direction you want it to go, once the line has started move your mose around to make very suttle curves. If they are too sharp it will mess up. after drawing the line, just press space and watch him go.