Untitled
unknown
python
a year ago
331 B
4
Indexable
def move(self, target_x, target_y): current_time = time.time() if self.last_known_position is None or (current_time - self.last_update_time > 0.05): pyautogui.moveTo(target_x, target_y) self.last_known_position = (target_x, target_y) self.last_update_time = current_time
Editor is loading...
Leave a Comment