remove_montage_slot
Delete a slot animation track from a UAnimMontage by name or zero-based index, then save the asset. Use get_montage_info to list slots before removing.
Instructions
Remove a slot animation track from a UAnimMontage by name or index. A failed save makes success false, with saved=false and save_error.
Returns: { montage_path, slot_name?, slot_index?, removed_index?, removed_slot_name?, slot_count, slots[], already_existed, removed, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_name | No | Name of the FSlotAnimationTrack to remove (FName). Either this or slot_index is required. | |
| slot_index | No | Zero-based index into SlotAnimTracks (alternative to slot_name). Use get_montage_info first to list slots. | |
| montage_path | Yes | Full asset path of the montage (e.g. '/Game/MyGame/AM_Example'). |