def METHOD_NAME(
    self,
    locator: Optional[LocatorType] = None,
    x: int = 0,
    y: int = 0,
    action: Action = Action.click,
) -> None:
    """Click at a given pixel offset from the given locator.
    :param locator: Locator for click start position
    :param x:       Click horizontal offset in pixels
    :param y:       Click vertical offset in pixels
    :param action:  Click action, e.g. right click
    Example:
    .. code-block:: robotframework
        Click with offset    Robocorp.Logo    y=400
    """
    if self._error:
        raise self._error
    action = to_action(action)
    if locator:
        position = self.ctx.wait_for_element(locator)
        position = to_point(position)
    else:
        position = self.get_mouse_position()
    position = position.move(int(x), int(y))
    self._click(action, position)