from pyautogui import *
import pyautogui
import time
import keyboard
import random
import win32api,win32con

#r'C:\Users\afunp\Downloads\howIMakeBotsUsingPythonFromKianBrose'

while 1:
    if pyautogui.locateOnScreen('stickman.png',region=(460,470,430,490),grayscale=True,confidence=0.8)!=None:
        print("I can see it")
        time.sleep(0.5)
    else:
        print("I am unable to see it")
        time.sleep(0.5)

9d1f75cc688c2677501a0df4faf1593758e9037a
<mask token>

<mask token>
while 1:
    if pyautogui.locateOnScreen('stickman.png', region=(460, 470, 430, 490),
        grayscale=True, confidence=0.8) != None:
        print('I can see it')
        time.sleep(0.5)
    else:
        print('I am unable to see it')
        time.sleep(0.5)

from pyautogui import *
import pyautogui
import time
import keyboard
import random
import win32api, win32con
while 1:
    if pyautogui.locateOnScreen('stickman.png', region=(460, 470, 430, 490),
        grayscale=True, confidence=0.8) != None:
        print('I can see it')
        time.sleep(0.5)
    else:
        print('I am unable to see it')
        time.sleep(0.5)

from pyautogui import *
import pyautogui
import time
import keyboard
import random
import win32api,win32con

#r'C:\Users\afunp\Downloads\howIMakeBotsUsingPythonFromKianBrose'

while 1:
    if pyautogui.locateOnScreen('stickman.png',region=(460,470,430,490),grayscale=True,confidence=0.8)!=None:
        print("I can see it")
        time.sleep(0.5)
    else:
        print("I am unable to see it")
        time.sleep(0.5)
