>wowhelm_
~/forever/addon-api/function/math.lerp

math.lerp

documented function · LuaMathExtensions
math.lerp(startValue, endValue, amount) : interpolatedValue

Linearly interpolates between two values.

──ARGUMENTS
startValue
number (The value returned when the interpolation amount is 0.)
endValue
number (The value returned when the interpolation amount is 1.)
amount
number (The interpolation amount. Values outside [0, 1] extrapolate beyond the two values.)
──RETURNS
interpolatedValue
number (The interpolated value.)
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.