Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can you please explain more about how Lerp works?

Can anyone please explain more about how Lerp works? I've been researching on Roblox Wiki, but I don't quite understand how Lerp works. Can someone please explain to me more about how Lerping works? Can you also explain how you can use Lerp to transition from one color to another?

1 answer

Lerp, short for Linear Interpolation, is used to get a point between two other points. If Point A is one end of a line segment and Point B is the other end, and you were halfway between them and wanted to know exactly where that area was, you would use Lerp() for that scenario. As for transitioning from one color to another, it is a better idea to use TweenService.

1 comment

0

What TweenService would I use exactly for transitioning color? Also, someone helped me with transitioning color through lerp

This discussion is preserved as it was. New answers, comments, and votes are closed.