Hi. I’m working on a shading program for the way I shade objects and characters. Here is my code.
local color1 = Color(30, 175, 255, 255)
dlg:color {
id = “color1”,
label = "Color 1: ",
color = color1
}
I would like it so that when the color of the button is changed or set to a color, the (variable) color1’s value would change to that color.