What is the :lerp function?

Yes you can, it is very useful in that sense. For example you could mix two colors by doing this:

local color1 = Color3.fromRGB(255,0,0) --Red
local color2 = Color3.fromRGB(0,0,255) --Blue
local newCOlor = color1:lerp(color2,0.5) --Purple
28 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.