set_anim_graph_node
Edit O3DE animation graph nodes by renaming, moving, enabling/disabling, or setting reflected fields such as motion IDs. Pass at least one change to update the node and return its updated data.
Instructions
Edit a node: rename, move, enable/disable, or set reflected fields.
Returns the node object as get_anim_graph emits it. Pass at least one
change. An unknown attribute is refused with the settable fields listed.
Args:
anim_graph_id: Graph id (number or digit string).
node_id: Node id from get_anim_graph.
name: New node name.
position: [x, y] graph-canvas position in integer pixels.
enabled: Enable or disable the node.
attributes: Reflected fields to set, for example a motion node's
{"motionIds": ["<motion id>", ...]} (read back as the node's
motion_ids).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| enabled | No | ||
| node_id | Yes | ||
| position | No | ||
| attributes | No | ||
| anim_graph_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |