def METHOD_NAME(out_val, in_val, cur_pos, next_pos, lottie, animated):
    """
    To set the tangents as required by the lottie format for value waypoints
    Args:
        out_val   (common.Vector.Vector)         : Tangent out value
        in_val    (common.Vector.Vector)         : Tangent in value
        cur_pos   (common.Vector.Vector)         : Current position in coordinate system
        next_pos  (common.Vector.Vector)         : Next position in coordinate system
        lottie    (dict)                : bezier interval in lottie format
        animation (lxml.etree._Element) : Synfig format animation
    Returns:
        (None)
    """
    out_lst = out_val.get_list()
    in_lst = in_val.get_list()
    lottie["i"]["x"] = [in_lst[1]]    # x-axis represents time
    lottie["i"]["y"] = [in_lst[0]]    # y-axis represents animation progress
    lottie["o"]["x"] = [out_lst[1]]
    lottie["o"]["y"] = [out_lst[0]]
    # Lottie tangent length is larger than synfig
    lottie["i"]["x"][0] /= settings.TANGENT_FACTOR
    lottie["i"]["y"][0] /= settings.TANGENT_FACTOR
    lottie["o"]["x"][0] /= settings.TANGENT_FACTOR
    lottie["o"]["y"][0] /= settings.TANGENT_FACTOR
    # Keeping original Synfig format tangents in dictionary
    lottie["synfig_i"] = [lottie["i"]["y"][0]]
    lottie["synfig_o"] = [lottie["o"]["y"][0]]
    # If type is color, the tangents are already normalized
    if animated.attrib["type"] not in {"color", "gradient"}:
        normalize_tangents(cur_pos, next_pos, lottie["i"], lottie["o"])