def position(x=None, y=None):
    posx, posy = platformModule._position()
    posx = int(posx)
    posy = int(posy)
    if x is not None:
        posx = int(x)
    if y is not None:
        posy = int(y)
    return posx, posy
Returns the current xy coordinates of the mouse cursor as a two-integer
dataset/ETHPy150Open asweigart/pyautogui/pyautogui/__init__.py/position