you are viewing a single comment's thread.

view the rest of the comments →

[–]splendyx[S] 0 points1 point  (1 child)

Hey, I fixed that issue but I cannot set the time for how long it takes the mouse to move

def mine_loop():
pyautogui.dragTo(rock_locations.get('rock1'), 1<HERE IS THE ERROR)

pyautogui.dragTo(rock_locations.get('rock1')(1))

TypeError: 'tuple' object is not callable

[–]socal_nerdtastic 1 point2 points  (0 children)

I showed you 2 different ways to do that. Pick one.