def up(y_pos: int, distance: int):
    """
    Find the pixel a given distance from the virtual agent location

    Params
    ------

    y_pos: int
        An index along the y axis that will be used as the starting point

    distance: int
        The distance we want to trayel along the y axis from that point.

    Returns
    -------

    An integer for the new location
    """
    return y_pos + distance - 1