'I need support for pyautogui

I am coding with python and using the module pyautogui (maybe this is important, I don't know I use 2 monitors):

import pyautogui

res = pyautogui.locateOnScreen("image.png")
print(res)

but my output isn't the posoyopm of box, it's None.

Why is it None?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source