remove_marked_frame
Delete a specific user-marked frame from a Level Sequence by index, frame, or label, then save the sequence. Reports already_removed when no mark matches the selector.
Instructions
Removes one user marked frame from a Level Sequence, by index, frame, or label, inside an undo transaction, and saves the sequence; success requires the save. A selector that matches no mark succeeds with already_removed true and saved false (nothing is written).
Returns: { sequence_name: string, removed_index: int, already_removed: bool, marked_frame_count: int, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Optional tick frame number to resolve the mark to delete (FindMarkedFrameByFrameNumber). | |
| index | No | Optional mark index to delete. Takes precedence over frame/label. | |
| label | No | Optional label to resolve the mark to delete (FindMarkedFrameByLabel). | |
| sequence_name | Yes | Name of the target Level Sequence. |