editor_modify_actor
Replaces a live actor's world transform (translation, orientation, scale) by actor GUID and returns updated details. Use editor_actor_details first to preserve values you do not want to change.
Instructions
Replaces an existing live actor's world transform and returns its updated details. Use editor_actor_details first to preserve transform values that should not change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | Replacement world-space scale. | |
| actorId | Yes | Actor GUID from editor_scene_graph or editor_get_selection. | |
| orientation | Yes | Replacement world-space orientation quaternion. | |
| translation | Yes | Replacement world-space translation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| tags | Yes | ||
| layer | Yes | ||
| sceneId | Yes | ||
| scripts | Yes | ||
| isActive | Yes | ||
| parentId | Yes | ||
| typeName | Yes | ||
| layerName | Yes | ||
| transform | Yes | ||
| mainThreadId | Yes | ||
| localTransform | Yes | ||
| isActiveInHierarchy | Yes |