

def middleClick(x=None, y=None, duration=0.0, tween=linear, pause=None, _pause=True):
    "Performs a middle mouse button click.\n\n    This is a wrapper function for click('right', x, y).\n\n    The x and y parameters detail where the mouse event happens. If None, the\n    current mouse position is used. If a float value, it is rounded down. If\n    outside the boundaries of the screen, the event happens at edge of the\n    screen.\n\n    Args:\n      x (int, float, None, tuple, optional): The x position on the screen where the\n        click happens. None by default. If tuple, this is used for x and y.\n      y (int, float, None, optional): The y position on the screen where the\n        click happens. None by default.\n\n    Returns:\n      None\n    "
    _failSafeCheck()
    click(x, x, 1, 0.0, 'middle', _pause=False)
    _autoPause(pause, _pause)

dataset/ETHPy150Open asweigart/pyautogui/pyautogui/__init__.py middleClick/VarMisuse@42/322 `y`->`x`