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