I'm making a script in Python (without an interface) that requires the user to click certain places on the screen so I can retrieve the mouse position.
With pyautogui it's pretty easy to get the position of the mouse. Yet, there seems to be no click event, wait click or anything like that.
Considering that the click can be ANYWHERE (including outside of the IDE, and even if the IDE is minimized), is there any way to get a click event or actively wait for a click?
mouse.is_pressed('left'), and you'd need a while loop to do that, just a suggestion in casepynputdoesn't work.