docs: def click(x=None, y=None, clicks=1, interval=0.0, button='left', duration=0.0, tween=linear, pause=None, _pause=True):
      """Performs pressing a mouse button down and then immediately releasing it.
  
      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, str, optional): The x position on the screen where
          the click 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
          click happens. None by default.
        clicks (int, optional): The number of clicks to perform. 1 by default.
          For example, passing 2 would do a doubleclick.
        interval (float, optional): The number of seconds in between each click,
          if the number of clicks is greater than 1. 0.0 by default, for no
          pause in between clicks.
        button (str, int, optional): The mouse button clicked. Must be one of
          'left', 'middle', 'right' (or 1, 2, or 3) respectively. 'left' by
          default.
  
      Returns:
        None
  
      Raises:
        ValueError: If button is not one of 'left', 'middle', 'right', 1, 2, 3
      """
      if button not in ('left', 'middle', 'right', 1, 2, 3):
          raise ValueError("button argument must be one of ('left', 'middle', 'right', 1, 2, 3)")
  
      _failSafeCheck()
      x, y = _unpackXY(x, y)
  
      _mouseMoveDrag('move', x, y, 0, 0, duration, tween)
  
      x, y = platformModule._position()
      for i in range(clicks):
          _failSafeCheck()
          if button == 1 or str(button).lower() == 'left':
              platformModule._click(x, y, 'left')
          elif button == 2 or str(button).lower() == 'middle':
              platformModule._click(x, y, 'middle')
          elif button == 3 or str(button).lower() == 'right':
              platformModule._click(x, y, 'right')
          else:
              # These mouse buttons for hor. and vert. scrolling only apply to x11:
              platformModule._click(x, y, button)
  
          time.sleep(interval)
  
      _autoPause(pause, _pause)