move_ik_solver_in_stack
Move a solver to a new position within an IK Rig's solver stack and save the asset, with undo and error checks for invalid indices.
Instructions
Move the solver at from_index so that it ends up at to_index (both 0-based positions in the solver stack) of an IK Rig asset through the IK Rig controller (one undo transaction), then save the asset. An index outside the stack is an error and nothing moves; from_index equal to to_index is not an error but moved false, saved false and a note, with nothing saved. A failed save makes success false, with saved=false and save_error.
Returns: { asset_path: string, from_index: int, to_index: int, moved: bool, solver_count: int, saved: bool, save_error?: string, note?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_index | Yes | Target 0-based solver index, below the solver count | |
| from_index | Yes | Source 0-based solver index | |
| ik_rig_path | Yes | Path to the UIKRigDefinition asset |