Timeline Editor · Chapter 6 of 9

Timeline Editor: Curves and Keys

Written for version 2.7.0

Animate a clip with keys: fade it, slide it, scale and turn it, and shape the curve between keys.

The last chapter joined clips with transitions and changed how fast a video clip plays. This one makes a clip change while it plays: fade in, slide across the picture, grow or turn. You do that with keys, in the Curves tab.

A key pins a property to a value at one frame. With no keys a property has one value for the whole clip, the one you set in the inspector. Put two keys with different values on it and the clip moves from the first value to the second between them; before the first key and after the last it holds still. The line the value follows from key to key is its curve.

Open the Curves tab

Select a clip and tap Curves above the bottom pane. The Curves tab: the six properties on the left, each with a key button and an eye, and the graph on the right with its scrub strip, cursor modes and toolbar.
PropertyWhat it animatesIn the inspector
Position XWhere the middle of the clip is, left to right, in canvas pixelsX
Position YWhere the middle of the clip is, top to bottom, in canvas pixelsY
RotationThe turn of the clip, in radiansRotation
Scale XWidth, where 1 is the picture at its own sizeScale X
Scale YHeight, in the same wayScale Y
OpacityHow solid the clip is, from 0 to 1The OPACITY slider
  • The tab always shows the selected clip. With none selected it asks you to select one.
  • Every kind of clip has the same six properties. Nothing else on a clip is animated here.
  • A small number beside a name is how many keys that property has. No number means none.
  • Frames in this tab are counted from the start of the clip, not the start of the timeline. Move the clip along its lane and its animation moves with it.

Add keys

  • The key button on a row, the diamond with a plus, adds a key to that property at the playhead.
  • Key All, at the top of the list, adds a key at the playhead to every property that does not have one there yet, as one step for Undo. It is dimmed when all six already have one.
  • Touch and hold a row for a menu with Solo, Add Key at Playhead and, once the property has keys, Remove All Keys.
  • A new key takes the value the property has at that moment, so adding one never makes the clip jump.
  • If the playhead is before or after the clip, the key goes on the clip's first or last frame.
A key on its own changes nothing

One key holds a property at one value, exactly as it was without keys. Animation starts with the second key: move the playhead, add another key and give it a different value.

Worked example: fade a clip in

A key on Opacity at the clip's first frame, dragged down to 0. One second later, a second key dragged up to 1. The clip now fades in over that second.
  1. Select the clip and open the Curves tab.
  2. Drag in the strip along the top of the graph to put the playhead on the clip's first frame, at the green marker.
  3. Tap the key button on the Opacity row. A diamond appears on the graph at 1, fully solid.
  4. Drag that diamond straight down to 0.
  5. Drag in the strip to move the playhead one second on.
  6. Tap the key button on the Opacity row again. The new key is at 0 too, because that is the value there.
  7. Drag the new diamond up to 1. The line now climbs from the first key to the second.
  8. Play it. The clip fades in over the first second and stays solid after that.

For a fade out, do the same at the other end: a key at 1 a second before the red marker, and a key at 0 on the clip's last frame. A slide works the same way on Position X: one key where the clip starts and one where it should end up.

Read the graph

  • Time runs left to right and covers the whole clip. The green marker in the strip is the clip's first frame and the red marker its last. The numbers along the bottom are frames from the start of the clip.
  • Value runs bottom to top, with its numbers down the left side.
  • Each curve is drawn in the color of the dot beside its name, with a diamond at every key. A property with no keys draws nothing.
  • The yellow line is the playhead. It is the same playhead as on the lanes: drag in the strip to move it, and the picture above follows.
  • The strip is labelled the way the ruler is set in the transport bar: Time, Frames or Bars.
  • In any cursor mode, a two finger drag slides the graph and a three finger pinch zooms it. You can zoom in on part of the clip, and never out past its two ends.
Cursor modeA one finger drag on the graph
PointerSelects and moves keys. The mode to be in for everything in this chapter
PanSlides the graph
ZoomZooms the graph in and out. While Zoom is lit, tap it again for a menu: Reset Zoom, Zoom to Visible, Fit Visible Values and Fit Visible Timecodes
Keyed a position and see no curve?

The graph opens showing values from about 0 to 1, which suits Opacity and Scale. A position is in the hundreds, far above the top. Switch to Zoom mode, tap Zoom again and choose Fit Visible Values, or tap Fixed in the toolbar to switch to Normalized, which stretches every curve to the full height of the graph.

Select and move keys

Tap a key to select it: a bar appears with its frame, its value, its shape and Delete. Choosing Bezier turns the straight line after the key into an eased curve. Delete removes a key.
  • Tap a diamond to select that key. It grows and turns yellow at the edge.
  • Drag a diamond to move it: sideways changes when the key happens, up and down changes its value. Dragging a key that is not selected selects it first.
  • Drag across an empty part of the graph to draw a box; every key inside it is selected. A frame then surrounds them, with a bar on each side: drag a bar to stretch or squeeze the keys together.
  • Drag any selected key and all the selected keys move with it.
  • Tap an empty part of the graph to select nothing.
  • With one key selected, the bar at the top right of the graph shows Timecode, the key's frame, and Value. Both are numbers you can drag up or down or tap, exactly like the numbers in the inspector, for when a key has to sit on an exact frame or value.
  • One drag is one step for Undo.
Graph toolbarWhat it does
Copy, PasteCopy the selected keys, and paste them back in
SnapOn, it is blue and keys land on whole frames. It is on to begin with
FreeA menu. Lock X (Time) lets keys move up and down only, so their timing is safe. Lock Y (Value) lets them move sideways only, so their values are safe. Free allows both
FixedFixed draws every curve against the numbers on the left. Tap it for Normalized, which gives each curve the full height of the graph so that large and small values can be seen together

Curve shapes

Shape, in the selected key's barFrom this key to the next
LinearA straight line: the value changes at a steady rate. New keys are Linear
StepThe value holds, then jumps at the next key. The bar shows it as Stepped
BezierA curve. It starts gently and arrives gently, which makes a move ease in and out
  • A Bezier key grows a small round handle on a stem, and the key after it grows one too. Drag a handle to change how sharply the curve leaves or arrives.
  • With a Bezier key selected, a second menu sets how its two handles behave: Aligned keeps them opposite and the same length, Free keeps them opposite at different lengths, and Broken lets each move on its own.
  • With several keys selected the bar changes: it sets the shape of all of them at once, and adds Align T, to line keys up in time or snap them to the nearest frame, and Align V, to give them the same value.

Hide, solo and delete

Key All puts a key on all six properties at the playhead. An eye hides a curve from the graph; a tap on a row shows that curve alone.
  • Tap the eye on a row to hide its curve from the graph, and again to show it. A hidden curve still animates the clip; it is only out of your way.
  • Tap a row to solo it: only that curve is drawn, and the row is highlighted. Tap the row again to bring the others back.
  • To delete keys, select them on the graph and tap Delete in the bar.
  • To clear a whole property, touch and hold its row and choose Remove All Keys.
  • When the last key of a property goes, the property keeps the value it has at the playhead, so the clip does not jump.
  • Reset Transform in the inspector removes every key on all six properties at once.

Keys and the inspector

  • The inspector and the canvas work on the same values. Once a property has keys, its number in the inspector is its value at the playhead and changes as you scrub.
  • Change a keyed number in the inspector, or the OPACITY slider, and a key is added at the playhead, or the key already there is changed.
  • Drag or pinch the clip on the canvas and Position or Scale get a key at the playhead in the same way, if they have keys.
  • A property with no keys just takes the new value for the whole clip, as before.
  • The motion presets in the inspector, such as Zoom In, are two keys on each property they move. Open the Curves tab afterwards to change their timing or shape.
  • Split a clip and the animation carries on across the cut exactly as it was.
  • You can drag an Opacity key above 1 or below 0 on the graph, but the clip is never more than fully solid or less than invisible.
Moved a clip and the whole animation did not follow?

It follows only for properties without keys. On a keyed property you changed one key, the one at the playhead, and the other keys still pull the clip back to where it was. To move a whole animated path, select all of that curve's keys with a box and drag them up or down together.

Something unclear?

Tell us which property you were keying, what you did on the graph, and what the clip did instead of what you expected. A screenshot of the Curves tab helps.

Send Feedback