Datatype · Userdata
GuiColor
userdata
Colour-picker proxy returned by GuiCategory:add_color.
Fields
| Name | Type | Description |
|---|---|---|
| category | GuiCategory? | Back-reference to the owning category. |
| destroy | () -> () | Marks the picker destroyed. |
| get_color | () -> Color4 | Returns the current colour as a |
| is_destroyed | () -> boolean | Returns the destroyed flag. |
| is_visible | () -> boolean | Returns the visibility flag. |
| kind | ControlKind | Always |
| label | string | Current label text. |
| name | string | Alias for |
| on_changed | (callback: (rgba: { number }) -> ()) -> GuiConnection | Registers an additional change listener. |
| set_color | (value: Color4) -> () | Writes the colour. |
| set_label | (text: string) -> () | Replaces the label. |
| set_visible | (visible: boolean) -> () | Shows or hides the picker. |