Syntax

color picker

set the selectedColor of color picker to red: 255, green: 0, blue: 0, alpha: 127

Explanation

Use the color picker function to manipulate the color picker window. You can show/hide the color picker using its visible property, move it using its rectangle, left, top, right and bottom properties, and change/retrieve the color selected in it using its selectedColor property. You can handle the colorPicked message at the card, background, window or project level to react when its color is changed by the user.

See Also