# Edit on the timeline

Source: https://docs.lightair.app/desktop/record-and-edit/editor-timeline

> Cut, trim and arrange clips in Lightair's Editor with ripple, roll, slip and slide, zooms, speed, multicam angles, motion tracking and compound clips.

In short:
- Split at the playhead with `⌘B` or `Ctrl+B` on Windows; delete what's left or right of it with `Q` or `W`.
- Pick a trim tool from the tool menu or by key — Ripple `R`, Roll `N`, Slip `Y`, Slide `U` — and drag a clip's edge.
- Zooms live on the zoom track above the tracks. Click it over a video, picture or take to add one.
- Make a multicam clip from several cameras of one moment, then cut between angles with `1`–`9`.

In the app: Editor › Timeline; Clip; Timeline; Playback

The timeline shows the tracks of the canvas on screen: picture tracks (**Video 1**, **Video 2**…)
above, sound tracks (**Sound 1**, **Sound 2**…) below, and the zoom track on top. A video's sound
comes in on a sound track of its own, linked to its picture.

## Move around

| Keys | Does |
|---|---|
| `Space` | Play or pause |
| `←` / `→` | Back or forward a frame |
| `⇧←` or `Shift+←` on Windows / `⇧→` or `Shift+→` on Windows | Back or forward 10 frames |
| `↑` / `↓` | Previous or next cut |
| `Home` / `End` | The start or the end |
| `⌘=` or `Ctrl+=` on Windows / `⌘-` or `Ctrl+-` on Windows | Zoom the timeline in or out |
| `⇧0` or `Shift+0` on Windows | Fit the whole timeline |
| `⎋` or `Esc` on Windows | Deselect |

These, and every key on this page, are the defaults. Change them in **Settings › Shortcuts**.

## Cut

- **Split at the Playhead** (`⌘B` or `Ctrl+B` on Windows) cuts every clip under the playhead in two, or just
  the picked one. Linked clips are cut with it.
- **Delete Left of the Playhead** (`Q`) and **Delete Right of the Playhead**
  (`W`) cut the clips under the playhead (the picked ones, or every unlocked one) and
  remove what's before or after it.
- `⌫` or `Delete` on Windows removes the picked clips.

Pick clips by clicking, or drag a box around them. Copy, cut, paste and duplicate work as
elsewhere.

**Snapping** (`S`) turns snapping on or off while you drag clips and edges.
**Linkage**, a toggle in the tool bar, keeps a video's picture and sound together; hold
`⌥` or `Alt` on Windows while dragging to move one alone.

## Trim tools

Choose a tool from the tool menu in the tool bar, or by its key:

| Tool | Key | What dragging does |
|---|---|---|
| **Select** | `A` | Moves clips; dragging an edge trims that clip only. |
| **Split** | `B` | Click a clip to cut it there. |
| **Select leftward** | `[` | Picks every clip, on every track, that starts before the click. |
| **Select rightward** | `]` | Picks every clip, on every track, that ends after the click. |
| **Ripple** | `R` | Trims an edge, and every later clip on the track moves by as much, so no gap opens. |
| **Roll** | `N` | Moves the cut between two clips that touch: one gets longer, the other shorter. |
| **Slip** | `Y` | The clip stays put; the part of its file that plays moves. |
| **Slide** | `U` | Moves the clip between its neighbours; the one before and the one after change length to fit. |

### J and L cuts

With the **Roll** tool, hold `⌥` or `Alt` on Windows while dragging one side of a cut: only that side
rolls, and its linked clip stays. The sound then starts before the picture (a J cut), or carries
on after it (an L cut).

## Markers and in and out

- **Marker at the Playhead** (`M`) adds a marker; press it again on one to remove it.
  The **Markers** panel lists them: type a name, pick a colour, give one a length, or click one
  to go there.
- **Mark In** (`I`) and **Mark Out** (`O`) set a range; **Clear In and Out**
  (`⌥X` or `Alt+X` on Windows) removes it. The export can use just that range.

## Change a clip

The **Clip** menu (on a Mac) or the tool bar has:

- **Freeze Frame**: 3 seconds of the frame at the playhead, as a still.
- **Reverse**: plays the picked clip backwards.
- **Mirror** and **Rotate 90°**.
- **Crop**: in the Inspector, under the transform.

### Speed

In the Inspector's **Speed** tab, choose **0.25×**, **0.5×**, **1×**, **1.5×**, **2×**, **4×** or
**8×**. A slower speed needs room after the clip. Under **Ramp**, set the speed at two moments or
more to change it over the clip; choosing a fixed speed again replaces the ramp.

## The zoom track

A zoom magnifies the whole frame for a stretch of time. Zooms sit on the zoom track above the
tracks; a Studio take arrives with automatic ones where you clicked and typed (see
[Studio takes](/desktop/record-and-edit/studio-takes#in-the-editor)).

1. Click the zoom track over a video, picture or take. A 2-second zoom is added there and picked.
2. Drag it to move it; drag its edges to lengthen or shorten it.
3. In the Inspector, set **Zoom** to **1.25×**, **1.5×**, **2×**, **2.5×**, **3×** or **4×**.
4. Under **Shows**, choose **Follow pointer** (over a take: the view follows the recorded
   pointer) or **A region**. For a region, drag on the player: inside the box to move it, a
   corner to size it, anywhere else to draw a new one.

**Delete zoom** in the Inspector, or on a zoom's right-click menu, removes it.

## Multicam

When several cameras (and perhaps a separate microphone) recorded the same moment:

1. Put their clips on the timeline and pick them all.
2. Choose **Clip › Make Multicam Clip** (or **Editor: Make Multicam Clip** in the command
   palette).
3. Lightair lines the angles up by their sound and makes one multicam clip.

The **Angles** panel shows every angle at the playhead. Click one to cut to it there, or press
`1` to `9` (**Cut to Angle 1**…), while playing too. The sound comes from one
angle, or from the separate microphone when there is one; **Take the sound from this angle**
changes it.

## Motion tracking

Make a mask, a title or a picture follow something that moves in a video:

1. Pick the video clip and put the playhead where tracking should start.
2. Choose **Clip › Track Motion…**.
3. Click what to follow on the canvas (a **Small**, **Medium** or **Large** box), or use one of
   the clip's masks as the box. Something with detail in it holds best; a flat colour can drift.
4. Click **Track forward** (to the clip's end) or **Track back** (to its start). The progress
   shows, and you can **Stop**.
5. Under **Make it follow**, pick a mask of the clip, or a clip over it such as a title. It gets
   keys on its position that follow the tracked spot.

When it's done, the panel says how sure the tracker was. Where it lost hold, the path turns red:
track again with the box on more detail, or from just after that point.

## Structure

- **Make Compound Clip** (`⌥G` or `Alt+G` on Windows) turns the picked clips into one clip. In the
  Inspector, **Open** edits what's inside, and **Break apart** puts the clips back.
  **Back Out of the Compound Clip** returns to the timeline.
- **Add Adjustment Layer** puts a clip whose effects, filter and grade apply to everything under
  it. It's added at the playhead, or between the in and out marks.
- **Duplicate Canvas** (in the **Timeline** menu) copies the canvas shown with its timeline.

## Record a voice-over

**Record a Voice-over** (in the **Playback** menu, or its button in the tool bar)
plays the project from the playhead and records your microphone. Click again to stop. The
recording lands on a sound track where it began.

## From the command line

```sh
lightair call editor.clip.split '{"at_ms": 12000}'
lightair call editor.zooms.add '{"start_ms": 5000, "scale": 2}'
```

See [editor.clip.split](/developers/remote-api/editor.clip.split) and
[editor.zooms.add](/developers/remote-api/editor.zooms.add).

## Related

- [Editor basics](/desktop/record-and-edit/editor-basics)
- [Captions and transcript](/desktop/record-and-edit/captions-and-transcript)
- [Export a video](/desktop/record-and-edit/export)
