This type represents a color picker control.
This type inherits control type. All of its base methods and fields are also available in this type.
control
Constructor
Constructs the color picker.
Arguments
Name
Type
Description
id
control_id
Control ID.
allow_alpha
bool
Whether to enable alpha channel. Defaults to true.
true
Returns
color_picker
Color picker object.
Example
local picker = gui.color_picker(id);
Method
Returns color picker' value.
None.
value_param<color>
Value data.
Last updated 1 year ago
local val = picker:get_value():get();