py-autogui/utils/location.py
2023-09-14 02:40:30 +08:00

6 lines
95 B
Python

import pyscreeze
def get_location_from_box(box: pyscreeze.Box):
return box.left, box.top