know your cursor cordinates

 import pyautogui

n = pyautogui.position()
print(n)

Comments