set_section_range
Set the frame range of a track's first section on a Level Sequence binding and save it in an undo transaction. Ideal for adjusting section timing without moving keys.
Instructions
Sets the frame range of the FIRST section of one track on a Level Sequence binding (sequence found by asset name under /Game), in an undo transaction, and saves the sequence. track_index picks the track in the binding's track order; no other section can be targeted, and an unknown binding reads as zero tracks. Frames are tick-resolution frames, rounded; keys are not moved or rescaled. range_set is false when the stored range differs from the request. Read a section's range with get_section_info; for the whole sequence use set_sequence_playback_range.
Returns: { sequence_name: string, binding_guid: string, track_index: int, track_class: string, requested_start_frame: int, requested_end_frame: int, applied_start_frame: int, applied_end_frame: int, range_set: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_frame | Yes | Exclusive end frame (must be > start_frame). | |
| start_frame | Yes | Inclusive start frame (tick resolution). | |
| track_index | No | Index into the binding's tracks (0 = first track, default 0). | |
| binding_guid | Yes | GUID of the binding. | |
| sequence_name | Yes | Name of the target Level Sequence. |