set_group_window
TRIM a group's own visible window — the [start, start+duration) range over which the group and its subtree are drawn. The contents are NOT moved or deleted: this clips what is shown, so use it to hide the head or tail of a whole section. Writing a window overrides the group's derived contents-hull from then on. Two safety corrections apply automatically: the group's OWN keyframes are compensated for the change in start so its animation doesn't jump (reported as keyframesCompensatedBy), and the duration is grown if needed so the window can never hide one of the group's own authored keyframes (reported as grownToCoverKeyframes). To MOVE the group and its contents instead, use shift_group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | First frame the group is drawn on, in its parent timeline (0-indexed, 30 fps). | |
| duration | Yes | How many frames the group stays drawn for (≥ 1). Grown automatically if it would hide the group's own keyframes. | |
| elementId | Yes | The group's id (group.<id> or the bare <id>). | |
| projectId | Yes | Opaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates. |