set_track_color
Set a track's color by palette index or packed RGB, then read it back to verify the write succeeded without recoloring clips.
Instructions
Set and verify one track colour, by palette index or packed RGB.
Side effects: writes Track.color_index or Track.color in one Live
undo step and reads the value back; clips are never recoloured.
Example: set_track_color(0, color_index=12) or
set_track_color(0, color=0x336699).
Edge cases: exactly one of color_index (0..69) and color
(0x000000..0xFFFFFF) is required; a track that does not expose the
property returns WRONG_TYPE and a rejected write returns
VERIFICATION_FAILED — the write is never retried.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| color_index | No | ||
| track_index | Yes |