function ColorPicker(Scope: Scope): (props: ColorPickerProperties) -> Frame
Initializes the component and returns a new function to create that component, which is an HSV color picker that uses a value slider.
Default Syntax
local ColorPickerComponent = require(StudioComponents.ColorPicker)
local ColorPicker = ColorPickerComponent(Scope)
Shorthand
local ColorPicker = require(StudioComponents.ColorPicker)(Scope)
Parameters
Scope: Scope |
The Scope the component will be initialized in. |
Returns Function
Parameters
props: ColorPickerProperties |
The table which contains the properties of the component that will be created. |
Returns