Thread:Randomouscrap98/@comment-5106053-20140805195949/@comment-9531161-20140806010627

You could use the distance formula to calculate the distance between the center of the circle pad and where the user is pulling, normalize it to between 0 and 1, and then multiply the velocity by the normalized distance to make the speed be proportionate to the distance of the circle pad. If you want various angles for the sprite movement, you can just directly use the X and Y distances between the touch location and the center of the circle pad, normalize them, and then use the normalized values directly as the X and Y velocities.