PyAutogui click'a basılı tutma

https://pyautogui.readthedocs.io/en/latest/mouse.html#the-mousedown-and-mouseup-functions

pyautogui.mouseDown?

Signature:
pyautogui.mouseDown(
    x=None,
    y=None,
    button='primary',
    duration=0.0,
    tween=<function linear at 0x0000020AA8AF3C80>,
    logScreenshot=None,
    _pause=True,
)
Docstring:
Performs pressing a mouse button down (but not up).

The x and y parameters detail where the mouse event happens. If None, the
current mouse position is used. If a float value, it is rounded down. If
outside the boundaries of the screen, the event happens at edge of the
screen.

Args:
  x (int, float, None, tuple, optional): The x position on the screen where the
    mouse down happens. None by default. If tuple, this is used for x and y.
    If x is a str, it's considered a filename of an image to find on
    the screen with locateOnScreen() and click the center of.
  y (int, float, None, optional): The y position on the screen where the
    mouse down happens. None by default.
  button (str, int, optional): The mouse button pressed down. TODO

Returns:
  None

Raises:
  PyAutoGUIException: If button is not one of 'left', 'middle', 'right', 1, 2, or 3
pyautogui.mouseDown(button="right", duration=10.)