py get mouse coordinates
import pyautogui
pos = pyautogui.position()
py get mouse coordinates
import pyautogui
pos = pyautogui.position()
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us