Answers for "move mouse to x y python"

0

python move mouse slowly

import autopy # pip install autopy
autopy.mouse.smooth_move(100, 600)
Posted by: Guest on July-28-2020
0

how to separate x and y from mouse position python

#just follow me

#xmousepos is a variable that assigns itsalf to the position of your cursor
#the [0] means the x position of the cursor [1] means the y position
#[1] is for the 2nd value of xmousepos / the x value
#[2] is for the 1st value of ymousepos / the y value
xmousepos=pygame.mouse.get_pos()[0]
ymousepos=pygame.mouse.get_pos()[1]

#i hope this helped yoy... now get back to work
Posted by: Guest on May-31-2021

Python Answers by Framework

Browse Popular Code Answers by Language