remove_keyframe
Delete a keyframe by index or frame from a Level Sequence binding's section channel, with out-of-range guards returning clean errors instead of crashes.
Instructions
Remove one keyframe (located by 'index' or 'frame') from a binding's section channel (resolved like move_keyframe). The out-of-range guard is applied BEFORE RemoveKey because TMovieSceneChannelData::RemoveKey has a fatal check(IsValidIndex) -- an invalid locator returns a clean error, never a crash. channel_type selects the proxy view ("double" default | "float" | "bool").
Returns: { sequence_path: string, channel_type: string, channel_index: int, removed_frame: int, key_index: int, removed: bool, key_count_after: int, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Frame of the key to remove (resolved via FindKey; provide index OR frame). | |
| index | No | Index of the key to remove (mutually exclusive with frame). | |
| tolerance | No | Optional FindKey frame tolerance when locating by frame (default 0). | |
| track_type | No | Optional class filter (see set_section_easing) selecting the track on the binding. | |
| track_index | No | Index into the binding's tracks (default 0; used when track_type omitted). | |
| binding_guid | No | GUID of the binding whose section to edit. | |
| channel_type | No | Channel value kind: "double" (default) | "float" | "bool". | |
| channel_index | No | Index of the channel within its proxy view (default 0). | |
| 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. |