import pyautogui as pag
pag.keyDown('e')
pag.click(x=811,y=697)
pag.click(x=1277,y=508)
pag.keyUp('e')
Hi I am trying to press mouse button 2 times while holding the 'e' key
But keyDown('e')
works as press('e')
.
How can I solve this problem?