edit_blendspace_sample
Edit a blend space sample by index to set its blend position, replace its animation, or both, so you can retime or swap animations without changing other values.
Instructions
Edit a blend sample (by index): blend value and/or animation. At least one of blend_value / animation_path is required; both are individually optional so you can retime a sample without touching its animation, or swap the animation without moving it. A sample that already has those values is a success with value_edited=false, animation_replaced=false and saved=false, and the blend space is neither modified nor saved. A failed save makes success false, with saved=false and save_error.
Returns: { blendspace_path, index, value_edited, animation_replaced, num_samples, samples, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index of the sample to edit. | |
| blend_value | No | New blend position: single number (1D) or array of up to 3 numbers (optional). | |
| animation_path | No | Full asset path to a UAnimSequence to replace the sample's animation (optional). | |
| blendspace_path | Yes | Full asset path to the UBlendSpace. |