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

How do I use Color3 lerp?

Can someone explain how to use Color3:lerp? What is alpha and the goal?

Also does this make the color change smoothly?

1 answer

Color3.lerp basicly finds an average of the two values and alpha affects that process. For your needs however, I would recommend TweenService as it allows you to gradually shift from one color to another.

2 comments

0

How would I continuously and smoothly change the color of a light? I don't understand this much.

0

Create a Tween using TweenService. Once you tell it what you want it will change the color smoothly itself. More info on the wiki page

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