Answer the question
In order to leave comments, you need to log in
Is it possible to make a bot in python that will keep the cursor behind a certain color?
I play one game, I want to write a bot that will guide the cursor over a circle with a color in python.
Is it possible to do this with PyAutoGUI for example?
Answer the question
In order to leave comments, you need to log in
PyAutoGUI only controls the keyboard and mouse. To determine the color on the screen, I recommend delving into the OpenCV library.
PS: As a homemade option, you can try using pyautogui.locateOnScreen.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question