• Creates a new scalar with values linearly interpolated of "amount" between the start scalar and the end scalar

    Returns

    the lerped value

    Parameters

    • start: number

      start value

    • end: number

      target value

    • amount: number

      amount to lerp between

    Returns number