{"name":"BIS_fnc_lerp","title":"BIS fnc lerp","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_lerp","revid":378113,"updated":"2026-02-17T13:29:28Z","groups":["Interpolation"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Linear floating point interpolation (see [Linear Interpolation](https://en.wikipedia.org/wiki/Linear_interpolation)).","syntaxes":[{"syntax":"[currentValue, targetValue, alpha] call BIS_fnc_lerp","params":[{"name":"currentValue","type":"Number","description":"first point (start)","type_expr":"Number"},{"name":"targetValue","type":"Number","description":"second point (end)","type_expr":"Number"},{"name":"alpha","type":"Number","description":"interpolation speed","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"interpolated value"}}],"examples":[{"code":["[1, 10, 0.5] call BIS_fnc_lerp; // returns 5.5"]}]}