manage_action
List, create, assign, unassign, or push down an animated object's saved actions to control which animation plays and layer actions via NLA strips.
Instructions
Work with an object's actions (its saved animations).
Args: object_name: Animated object. operation: LIST (the file's actions and which one the object plays), NEW (start an empty action named action_name and assign it), ASSIGN (play an existing action; several objects can share one), UNASSIGN (stop playing the active action, keep it in the file), PUSH_DOWN (move the active action into an NLA strip so another action can be layered on top). action_name: Needed for NEW and ASSIGN.
Returns: Dict with the object's active action and slot, and the file's actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| action_name | No | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||