set_section_locked
Lock or unlock a sequencer section in Unreal Engine to prevent or allow edits; lock last in an edit chain so other operations cannot modify it.
Instructions
Lock or unlock a sequencer section. Maps to UMovieSceneSection::SetIsLocked; a locked section cannot be modified by other edit ops, so lock LAST in an edit chain.
Returns: { sequence_path: string, section_index: int, is_locked: bool, set: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | Desired locked state. | |
| 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 edit. | |
| section_index | No | Index of the section on the resolved track (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. |