Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

How do you get a BrickColor value from a Color3 value?

Asked by
Spooce 78
10 years ago

I want to change the color of a PointLight with the color of a part, how would I go about doing this? Say I wanted to change it red.

1 answer

Log in to vote
1
Answered by
Tkdriverx 514 Moderation Voter
10 years ago

The .Color constructor of a BrickColor class. BrickColor.Color

Wiki Page: BrickColor

1
`Color` is not a constructor of a BrickColor, it is a property. adark 5487 — 10y
0
It's called a constructor property. So it's both. Tkdriverx 514 — 10y
0
It's definitely not a constructor. A constructor has to be a function. Merely 2122 — 10y
0
Then why is it under the "constructors" section of the Wiki page? Tkdriverx 514 — 10y
Ad

Answer this question