getSwatch

Returns the selected swatch for the given target from the palette, or null if one could not be found.

Return

The selected swatch for the given target from the palette, or null.

Parameters

target

The target selection.

See also