We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doing this:
button_left = [400, 960] button_middle = [480, 960] button_right = [580, 960] button_choices = [button_left, button_middle, button_right] mouse.move(random.choice(button_choices)) TypeError: move() missing 1 required positional argument: 'y'
Is there some other way i can do this?
The text was updated successfully, but these errors were encountered:
mouse.move accepts x and y arguments. Have you considered doing one of the following?
mouse.move
x
y
choice = random.choice(button_choices) mouse.move(choice[0], choice[1])
choice = random.choice(button_choices) mouse.move(*choice)
choice_x, choice_y = random.choice(button_choices) mouse.move(choice_x, choice_y)
Sorry, something went wrong.
mouse.move accepts x and y arguments. Have you considered doing the following? choice = random.choice(button_choices) mouse.move(choice[0], choice[1])
mouse.move accepts x and y arguments. Have you considered doing the following?
I have not considered that, thanks!
No branches or pull requests
Doing this:
Is there some other way i can do this?
The text was updated successfully, but these errors were encountered: