how to find the coordinates of your mouse python code example Example: py get mouse coordinates import pyautogui pos = pyautogui.position()