"math.lerp" not enabled but doesn't throw any error in Script Editor

Definition for “math.lerp” appears to have been added, but does not run properly in Studio, giving “attempt to call a nil value”. Roblox Studio version is Version 0.658.0.6580461 (64bit).

image
image

2 Likes

I just put math.lerp into a script and I’m having the same problem with “attempt to call a nil value”. You could just use this function for now:

function lerp(a, b, t)
	return a + (b - a) * t
end

--lerp(1, 2, 3)
--prints 4 
1 Like

Because it’s not enabled yet.

3 Likes

Why would they let you add it in a script if you cant use it? :thinking:

Likely testing before public release.

1 Like

656 release notes came out on the 15th, math.lerp is still pending:


Once this rolls out to all of studio and roblox the error will go away.

Sure, but they should not enable the FFlag to all Roblox Studio users to see the definition, so people think “oh, it’s added!”

Release Notes pending are not accurate. For example, Occlusion Culling is still marked as pending on its release note. I stay very up-to-date with them.

1 Like

Thank you for the report.

The new feature is not enabled yet.
We do not have plans to fix the issue of autocomplete appearing a bit earlier.

1 Like

Thank you for the response. Any idea when the feature will be enabled?

Unfortunately, some updates of a few platforms are behind the schedule.

We are looking at the week of February 10th.

4 Likes