Login to follow
Mobile Color Picker

Mobile Color Picker (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 08 November 2022 by Product League
Mobile Color Picker

Mobile Color Picker (ODC)

Documentation
0.1.1

To use the asset, drop its "MobileColorPicker" block into your screen and supply the input parameters:

  • Initial Color (optional): The initial selected color to be applied to the Color Picker.
  • BackgroundURL (optinal): The URL of the image to be used as the color picker. When supplied, the user will be able to pick a color from the specified image. When omitted, a default image is used.

Once the user selects a color from the picker, the block's "OnColorSelected" event is triggered. This event has a single input parameter containing the hexadecimal code of the color selected by the user.

Here's an example of a client action that handles that event and assigns the color selected by the user to a local variable: