>>> pyautogui.moveTo(x, y, duration=num_seconds) # move mouse to XY coordinates over num_second seconds >>> pyautogui.moveRel(xOffset, yOffset, duration=num_seconds) # move mouse relative to its current position