I was just wondering how I could make a line with a line trace the outline of a circle.

So that when I press a button the line moves 2 degrees to the right but stays the right length.

Also, X2 and Y2 are stationary and don't move.