def start_quest(self): quest = pyautogui.locateCenterOnScreen(\'quest.jpg\', confidence = 0.9) if quest: pyautogui.click(quest[0] - 100, quest[1])