editor_find_actors
Find actors in the running editor's open scenes, including unsaved changes, by filtering optional name, actor type, and script type; returns IDs, names, types, paths, and script types.
Instructions
Finds actors in the scenes that are open in the running editor (the play-time scene during play), with the unsaved changes. The filters are name, actor type and script type. All are optional, and they combine. Types match by full or short name. Returns id, name, type, path from the scene and the types of the scripts. Truncated is true when more than the limit matched. For a saved .scene or .prefab file without the editor, use scene_find_actor. For the full tree, use editor_scene_graph.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "editor_find_actors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many, 1 to 500. | |
| actorType | No | The actor's type, e.g. StaticModel or FlaxEngine.Camera. | |
| scriptType | No | A script type the actor has, e.g. PlayerController. | |
| nameContains | No | Part of the actor's name, case-insensitive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actors | Yes | ||
| truncated | Yes | ||
| mainThreadId | Yes |