select_actors
Select actors by internal name in the editor viewport/outliner, appending or replacing selection. Stage input for selection-driven tools or preview selections; reports missing names.
Instructions
Select actors by name in the editor viewport/outliner, appending to or replacing the current selection, and report which ones were not found. Use it to stage the input for the selection-driven tools (copy_actors with copy_selected, move_actors_to_level) or to show the user what you mean before they look. WARNING: matches INTERNAL names only (no editor labels) and misses are reported in not_found_names instead of failing, so check not_found_count. Editor world only.
Returns: { selected_actors: [actor JSON], selected_count: int, not_found_count: int, not_found_names?: [string], add_to_selection: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_names | Yes | Array of internal actor names (GetName), case-insensitive whole-string. Editor labels do NOT resolve here; convert them with find_actors_by_name. | |
| add_to_selection | No | Optional bool (default TRUE = append to whatever is already selected). Pass false to clear the selection first and end up with exactly these actors. |