get_state_theme_colors
Retrieve the theme color palette of a StateTree asset from its state_tree_path without changing it, returning count and colors with GUID refs and RGBA.
Instructions
List the theme color palette of a StateTree asset (UStateTreeEditorData Colors) without changing it. Returns count and colors [{display_name, color_ref, r, g, b, a}], color_ref being the GUID that states point to. Takes state_tree_path, not tree_path; set colors with set_state_theme_color.
Returns: { count, colors: [{display_name, color_ref, r, g, b, a}] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_tree_path | Yes | Asset path of the StateTree, e.g. "/Game/AI/ST_Guard"; named state_tree_path here, unlike its sibling tools. |