[Setting] colorSetting = gui.showColorPicker(setting, positionX, positionY, yOffset)


Shows a color picker (you can use the setting.value.finishedPicking to know when the user is done)

Parameters


setting

Setting | "nil

The setting to show the color picker for, if none provided one will be created.

positionX

number | "nil

The center x position to open the color picker from, if not provided it will be 0

positionY

number | "nil

The center y position to open the color picker from, if not provided it will be 0

yOffset

number | "nil

The y distance between the position and the color picker, if not provided it will be 10

Return Value


colorSetting

Setting

The setting the user is currently picking