remove_section
Deletes a sequencer track section by resolving its binding, track, and section indices, then removing it from the owning track. Returns removal status and remaining sections.
Instructions
Remove a section from a sequencer track by index. Resolves the section like set_section_active (binding_guid + track_type/index + section_index), then removes it from its owning track via UMovieSceneTrack::RemoveSectionAt. One delete for what every per-track add_*_section adds.
Returns: { sequence_path: string, section_index: int, track_type: string, track_index: int, removed: bool, remaining_sections: int, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_type | No | Optional class filter (see set_section_easing). | |
| track_index | No | Index into the binding's tracks (0 = first track, default 0). | |
| binding_guid | No | GUID of the binding whose section to remove. | |
| section_index | No | Index of the section on the resolved track to remove (default 0). | |
| sequence_name | No | Alias for sequence_path. | |
| sequence_path | No | Full /Game path OR bare asset name of the target Level Sequence. | |
| binding_name_or_guid | No | Alias for binding_guid, read only when binding_guid is absent; it must also be a GUID string, a bound object's name is not resolved. |