def METHOD_NAME(
    self,
    action: Action = Action.click,
    location: Optional[Union[Point, Region]] = None,
) -> None:
    """Perform defined mouse action, and optionally move to given point first."""
    # pylint: disable=C0415
    from pynput_robocorp.mouse import Button
    action = to_action(action)
    if location:
        self._move(location)
        delay(0.05)
    with self.buffer():
        self.logger.info("Performing mouse action: %s", action)
        if action is Action.click:
            self._mouse.click(Button.left)
        elif action is Action.double_click:
            self._mouse.click(Button.left, 2)
        elif action is Action.triple_click:
            self._mouse.click(Button.left, 3)
        elif action is Action.right_click:
            self._mouse.click(Button.right)
        else:
            # TODO: mypy should handle enum exhaustivity validation
            raise ValueError(f"Unsupported action: {action}")