1#just follow me
2
3#xmousepos is a variable that assigns itsalf to the position of your cursor
4#the [0] means the x position of the cursor [1] means the y position
5#[1] is for the 2nd value of xmousepos / the x value
6#[2] is for the 1st value of ymousepos / the y value
7xmousepos=pygame.mouse.get_pos()[0]
8ymousepos=pygame.mouse.get_pos()[1]
9
10#i hope this helped yoy... now get back to work