find location of mouse pyautogui code example Example: pyautogui current mouse position import pyautogui pyautogui.displayMousePosition()