# FrameRange

> Sets the clip's frame range with first_frame and last_frame (what the timeline shows with the range source on Input, and what Retime / Kronos take as their input range).

Sets the clip's frame range with first_frame and last_frame (what the timeline shows with the range source on Input, and what Retime / Kronos take as their input range). Pixels pass through; reset takes the input's range.

| Node | FrameRange |
|---|---|
| Menu | Time › FrameRange |
| **Names in each format** | |
| .oink comp (JSON) | `"type": "OC_N_framerange"` |
| .nk script | `FrameRange` ([how .nk import works](/docs/nuke-users/nk-import)) |
| Python | `nuke.createNode("FrameRange")` |
| Assistant (MCP) | `create_node(type="FrameRange")` |
| Tab search | `framerange`, or its initials `fr` |

![FrameRange properties](/shots/nodes/framerange@2x.webp)

## Inputs and outputs

| Port | Name | Type |
|---|---|---|
| input 0 | Image | image |
| output 0 | Image | image |

## Knobs

Panel tab **FrameRange**, in panel order.

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `first_frame` | frame range | float | `1` | -100000 to 100000 (integer) | `first_frame` |  |
| `last_frame` | to | float | `100` | -100000 to 100000 (integer) | `last_frame` |  |
| `reset` | reset | button (panel only) |  |  |  |  |

### Other knobs (Python, .nk and the assistant; not on the panel)

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `gl_color` | Viewer Controls Color | float ×3 | `0, 0, 0` | 0 to 1 |  |  |
| `postage_stamp_frame` | Static Frame | int | `1` | -2147483648 to 2147483647 |  |  |
| `lifetimeStart` | Lifetime Start | int | `0` | -2147483648 to 2147483647 |  |  |
| `lifetimeEnd` | Lifetime End | int | `100` | -2147483648 to 2147483647 |  |  |
| `useLifetime` | Use Lifetime | boolean | `false` |  |  |  |
| `cached` | Cached | boolean | `false` |  |  |  |
| `bookmark` | Bookmark | boolean | `false` |  |  |  |
| `dope_sheet` | Dope Sheet | boolean | `false` |  |  |  |
| `clone_group` | Clone Group | string |  |  |  |  |
| `link_source` | Link Source | string |  |  |  |  |
| `link_overrides` | Link Overrides | string |  |  |  |  |
| `split_views` | Split Views | string |  |  |  |  |
| `time` | time | string |  |  | `time` | Nuke's hidden time knob (kept for .nk) |


---
Sources: opencomp_core/nodes/utility/time_nodes.py, opencomp_electron/src/components/properties/knobSchema.ts, opencomp_core/nodes/help/framerange.md, opencomp_core/nk/mapping.py
