Originally Posted by Tingle0x539
GetColorAsRGB()
Returns: number red, number green, number blue
Can someone explain how to read this, I have never encountered a function that returns 3 separate values. Printing out what it returns gives me 1 all the time, how do I read the individual ones?
Edit, think I figured it out: local r, g, b = GetColorAsRGB();
But r g and b are all returning 1, so not sure if I did this correctly.
|
I suspect a color is needed as argument.
local r, g, b = GetColorAsRGB(myColorVariable);