It's as simple as that. I've been trying to code something that simply left clicks in a certain position, but no matter what programming language I use, the program fails to do so, freezes, refuses to close, and when trying to terminate it shows "access denied" and the only way to close it through restarting my computer. Please help me.
On Python: pyautogui.moveTo(x,y)
pyautogui.click(x,y)