# Keyframes

> Animate transform, crop, text, color, effect, and audio values with keyframes and ready-made animations.

Formats Studio docs · Creative tools · https://formats.app/docs/keyframes · Updated 2026-10-21

## Where keyframes live

Keyframes are set in the Inspector, beside the value they animate, and seen and moved in the keyframe editor under the timeline. For ready-made motion, open **Animation** under **Look & motion**: zoom, entrance, exit, emphasis, camera and loop looks, text motion, and the list of everything applied to the clip.

## Ready-made motion

**Animation** offers motion looks in groups: **Zoom**, **Entrance**, **Exit**, **Emphasis**, **Camera** and **Loop**. Hover a tile to preview it and click it to put the look on every selected clip. A highlighted tile is on all of them; click it again to take the look off.

- A clip holds one entrance, one exit, one emphasis and one camera move; a new one replaces the old. Loops add up, one of each.
- Two looks never move the same thing at the same time: a new look takes the place of one that would, such as a pop in under a push in. An entrance and an exit share a short clip instead, half each.
- An emphasis starts at the playhead when the playhead is over the clip; otherwise it starts at the clip's start, or once an entrance moving the same thing has played.
- **Camera** looks push in, pull out, pan or drift (a steady push with a slow float) across the whole clip.
- A look moves the clip from where it is at that moment, so it suits a clip you have already placed or keyed. Your own keyframes inside the look's time give way to it.
- An exit stays at the end of the clip when you trim it. When a clip has no room left for a look where you asked, it says so and changes nothing.
- Looks that scale the clip's box are unavailable for text, which has its own looks under **Text Animation**.

## Your presets

Save an animation you made to use it again on any layer. Select one animated clip and choose **Save animation as preset…** under **Your presets** in **Animation**, or select keys in the keyframe editor, right-click one and choose **Save keys as preset…**.

- Name the preset and keep it for **All projects** or **This project**. Choose where it sits on a clip, **In**, **Out**, **Emphasis**, **Loop** or **Whole layer**; the dialog suggests one from where the keys are.
- The dialog lists what the preset carries (keys with their easing and speed, the effects they animate, behaviors, a text's animators and typing caret) and what it can't, such as property links, expressions, keys on settings only that clip has, and behaviors that follow other layers.
- A preset keeps its motion relative to the clip, so it fits any size and place: a slide moves the same share of the frame, a scale the same share of the clip.
- Your presets sit in the panel with the place each is kept. Click one to put it on every selected clip, and click a highlighted one to take it off. It follows the same rules as the looks above: it replaces the look in its slot, and an exit stays at the end of the clip.
- Settings a clip doesn't have are left out, and the toast says which, as it names a look the preset replaced. A text preset goes on text only.
- A preset saved before presets had a place on a clip spans the whole clip and replaces the keys in its time on the settings it moves, as it always did. A look it would cut into comes off whole first.
- Use the **⋯** button on a preset to rename or delete it. Clips you put it on keep their animation.
- Presets kept for this project travel with it in a project bundle.

## The keyframe editor

Click the **diamond** beside the zoom slider in the timeline toolbar, or the diamond on a clip that has keyframes, to open the keyframe editor for the selected clip. It docks under the tracks and gives the timeline room while it is open; the curve button beside the diamond switches it between the dopesheet and the graph.

- **Sheet**: one row per value on the timeline's own time ruler. Drag a keyframe to retime it, Alt-drag to copy it, drag across to select several, and set their easing. The arrows on a row jump to its previous and next keyframe; the diamond between them keys or removes the value at the playhead.
- **Graph**: the curve button beside the diamond shows each value's curve with its easing handles, and the speed of a position.
- Drag the editor's top edge to make it taller.

## Easing and velocity

Open a segment's easing pill in Sheet view to choose from Linear, Hold, Sine, Quad/Power1, Cubic/Power2, Quart/Power3, Quint/Power4, Expo, Circ, Back, Elastic, Bounce, Steps, Spring, cubic Bézier, or a saved custom curve. GSAP names such as `power2.out`, `back.out(1.7)`, `elastic.inOut(1, 0.3)`, `expo.inOut`, `steps(6)`, and `none` map to the same curves.

Use Easy Ease (F9), Easy Ease In (Shift+F9), and Easy Ease Out (Cmd/Ctrl+Shift+F9) for AE-style zero-speed handles at 33.33% influence. Keyframe Velocity exposes incoming and outgoing speed and influence when you need exact values.

## Keyframe assistants

Select two or more keyframes on a value, right-click one and open **Keyframe assistant**. Each assistant works between the first and last selected keyframe, on every value you picked, as one undo step.

- **Time-reverse keyframes** plays the selected stretch backwards: keys swap places and each ease turns around, so an ease-in becomes an ease-out. A hold, step or spring that cannot run backwards is keyed where it changes, so every frame still matches. The keyframes either side of the stretch keep their own easing.
- **Smoother** removes keyframes the curve can do without. Tolerance is how far, in the value's own units, the curve may move; the keys left get smooth auto-Bézier handles.
- **Wiggler** adds random keyframes at a frequency (keys per second) up to a magnitude away from the curve. Smooth noise eases through them, Jagged goes straight; Position and Scale can wiggle each dimension on its own or both together.
- **Exponential scale** replaces a Scale move with one keyframe per frame at a constant zoom rate, so a zoom from 10% to 1000% feels even rather than rushing at the end.

## Group states

A group can keep arrangements of its layers as **States**, such as a closed and an open card, and move between them, each layer animating from one to the other. Select the group, arrange its layers, and click **Add state**; arrange them again and add another. **Add change at playhead** moves the group into the next state there, over a duration and with an easing you pick. The group shows its first state until its first change.

- Each change keys position, size, rotation, opacity and colours on the layers that differ between the two states, so a layer slides, grows and recolours on its own. A layer hidden in a state fades out and back in.
- The keys are the group's: change a state or move the group or its layers in time, and they are written again, while keys you set yourself stay, even on the same frame as a move. A layer you split or copy inside the group moves with its states too. Update a state from the layers at the playhead with its refresh button.
- A layer whose Position or Scale is keyed as one value would hide its state keys: separate its dimensions first.

## Motion sketch

1. Select a layer, open **Animation** in the bar above the canvas and choose **Sketch motion**.
2. Press on the canvas and drag. The timeline plays from the playhead and the layer follows the pointer.
3. Release to stop. The path becomes Position keyframes over the frames you drew, smoothed so the motion stays fluid; Esc cancels.

## Roving position keys

Position keys between two fixed endpoints can rove. Roving keys ignore their stored frame and are retimed from path length so the layer travels at a steady speed along the curve; the first and last keys stay fixed.

## Add a keyframe

1. Move the playhead to the frame you want to key.
2. Click the **diamond** on the parameter row to key its current value.
3. Move to another frame and change the value; a second key creates motion between them.

> **Warning:** You cannot add a keyframe inside a transition region, or with the playhead outside the clip bounds — the diamond is disabled there.

## What you can animate

| Clip type | Animatable values |
| --- | --- |
| All visual clips | X / Y position, width, height, rotation, opacity, corner radius, and their layer styles: each style's settings and colors, and fill opacity |
| Video | Adds anchor point, the four crop edges, crop softness, and volume |
| Text | Adds preset scale, font size, line height, paragraph spacing, indent, padding, background radius, shadow, stroke, the axes of a variable font (weight, width, optical size and others), a counter's number, the offset along a path, and the text, background, stroke and shadow colors. Its words change over time with **Changes** under the text |
| Audio | Volume in decibels |
| Shape | Adds trim paths, taper, dash lengths and offset, gradient angle, center and size, each corner of a rectangle, and the fill, stroke, gradient stop and extra fill and stroke colors |
| Group | The box's fill and outline colors |
| 3D layers | Add Z position, X and Y rotation, orientation (turned the shortest way between keys) and anchor Z; a position path moves in depth too (see [3D layers and cameras](https://formats.app/docs/3d)) |
| Camera | Position, point of interest and zoom |

> **Note:** Effects also contribute their own animatable parameters — look for the keyframe toggle beside each slider.

Some keys hold a choice instead of easing a number: shape fill and stroke on/off, stroke cap and join, text family, weight, style, underline, strikethrough and caps, layer-style on/off switches, and image and video source swaps. In the keyframe editor their keyframes are square and labeled with their value, and they stay out of the value graph: the value changes exactly on the keyframe and holds until the next one.

**Video source** switches a video clip's picture to another video from a keyframe on, like cutting between camera angles of one take: pick the video in the inspector's Video source section and the clip shows it from the playhead, at the clip's own timing (the same moment in each angle), while its sound stays the clip's own. Before the first pick the clip keys its own video at its start, so it plays as before up to the playhead.

A color keys like any value: the diamond beside its picker keys the color at the playhead, and picking a color while it has keyframes keys the new one. Colors in between blend evenly in brightness, so blue to yellow passes through bright tones rather than gray. While a gradient stop or an extra fill or stroke has color keyframes, the stops or paints in that list keep their number and order.

## Behaviours

A behaviour is procedural motion attached to a property. Values resolve in this order: keyframes, property links, behaviours, then expressions; the expression's `value` is the behaviour result.

- Use **Oscillate** for looping sine, triangle, square or saw motion; **Wiggle** for seeded noise that matches the expression wiggle function; **Inertia** and **Bounce** for arrivals after keyed motion.
- Use **Spring follow**, **Look at** and **Follow path** when one layer should react to another layer or a shape path. Cycles are refused before they render.
- Use **Audio** to map a clip or mix loudness to a property with attack and release smoothing. Mix means audible timeline clips after track mute, solo and volume; clip fades and EQ are not part of the driver envelope.
- Add behaviours from the **Behaviours** section of the inspector: choose a type, the property it drives, its settings and, for the layer-driven types, the layer or shape path it follows. Each behaviour has its own switch.
- **Convert to keyframes** writes every frame of the layer into each driven property's own keyframes, then turns the behaviours and those properties' links off. Expressions stay on, so the picture does not change. It is one Undo step.

## Rigs

A rig moves layers from other layers: a parent carries its children, inverse kinematics (IK) turns a chain of parented layers so its end reaches a target, and a layer can follow other layers by a weight. Set them in the **Rig** section of the inspector.

- **Parent** makes the layer move, turn and scale with another layer, about that layer's anchor, keeping it where it is now. Choose **None** to detach it.
- Build a limb as bones: parent each piece to the one above it and put each piece's anchor at its joint, such as the forearm's at the elbow. Select the end piece, such as the hand, then choose **Add IK** and the layer it should reach for. The two bones above it turn so its anchor lands on the target's anchor; past their reach they point straight at it.
- IK keeps the side the chain bends to when you add it; change **Bend** to flip it, and **Bones** to turn more or fewer layers above the end. **IK weight** blends from the bones' own pose (0%) to the solved one (100%), and keys like any setting, so a limb can switch between keyed and IK motion.
- **Follow a layer** makes the layer move with another one as well as its parent, from where both are at the playhead. Its weight decides how much: two follows at 50% hold it halfway between both, and keying the weights hands it from one to the other, as a ball passed between hands.
- Layers turned by IK or moved by follows keep their own values: dragging them on the canvas edits those, and the rig applies on top. A target that moves with the bones it turns, or a follow that loops back to the layer, is refused.

## Puppet pins

Puppet pins bend a layer as if it were cut from rubber: pins hold it where they are, and dragging one stretches the layer around it while the rest stays as stiff as it can. Set them up in the **Puppet** section of the inspector.

- Choose **Add puppet**. The layer's shape is read at the playhead and covered with a mesh, so a cutout or a word bends without the empty space around it. **Mesh** sets how closely the mesh follows the shape: **Fine** bends most smoothly. If the shape changes later, choose the refresh button to read it again at the playhead.
- With **Place pins** on, click the layer in the preview to add a pin. Pins that are not moved hold the layer there, so pin what should stay still, such as a character's feet, before bending a hand.
- Drag a pin to bend the layer. Each drag keys the pin at the playhead: move the playhead and drag again to animate it. The keys show in the dopesheet and graph as **Puppet pin X** and **Puppet pin Y**, and the pin rows in the inspector set a pin's place exactly, as a share of the layer's width and height.
- Select a pin and press Delete to remove it, or press Escape to stop placing pins.
- Masks bend with the layer, and its effects and styles, such as a shadow, apply to the bent layer. A pin can pull the layer past its box; what the layer draws outside its box, such as text running past it, is left out while it bends. Pins are placed while the layer is 2D, and a corner pin on the layer takes precedence over its puppet.

## Review and clean up motion

Live behaviors such as drift, breath, shake, and spin evaluate during playback without creating property keys.

- **Applied** in the Animation panel lists manual keys, presets and live behaviors on the clip; select one to jump to it, or remove it.
- Choose **Bake to keyframes** to convert live layer behaviors into editable keys.
- Use **Trim animation** when a clip trim leaves stored keys outside its visible duration.
- Clear every keyframe on the selected clips with `⇧A`.

## Expressions

Alt-click a stopwatch to write an expression. Simple math keeps using the built-in evaluator; JavaScript expressions run in the sandbox and support variables, functions, `if` statements, array math such as `value + [0, 10]`, layer reads through `thisComp.layer("Name")` or a layer number, `thisLayer`, `index`, `numKeys`, `key(n)`, `nearestKey`, `valueAtTime`, `velocityAtTime`, `speedAtTime`, `loopIn`/`loopOut` and their `Duration` forms (`cycle`, `pingpong`, `offset`, `continue`), `smooth`, `wiggle`, `posterizeTime`, seeded `random`, `gaussRandom`, `noise`, comp markers, effect settings through `effect("Gaussian Blur")("Radius")`, loudness in dB through `audioLevel()` (the whole mix) or `audioLevel("Music")` (one clip), interpolation helpers, and vector helpers like `length`, `dot`, `cross`, and `lookAt`. The result is the value of the last statement that runs, as in After Effects.

To read another composition, use `comp("Name")`: it works like `thisComp`, with `layer()`, `numLayers`, `width`, `height`, `frameDuration`, markers and `activeCamera`. `comp("Main")` is the main timeline, and a nested composition goes by its name. As in After Effects, the other composition is read at the same time on its own timeline, so inside a compound clip that starts two seconds into Main, `comp("Main").layer("Camera").transform.position` is the camera at the clip's own time; use `valueAtTime(time + comp("Main").layer("Clip").startTime)` to read Main at the moment the clip shows. A name no composition has is an error, and so is a name two compositions share: rename one, or use the composition’s ID. A loop through two compositions is refused like any other.

Expression units are Formats units, not After Effects pixels: position is the layer center offset from the canvas center, anchor is box pixels, opacity is 0–1, rotation is degrees, and scale is percent. Layer 1 is the top track's first clip, then each track's clips by start time, track by track down. `effect()` takes the effect's name as the Effects panel shows it (`"Gaussian Blur 2"` for the second) or its number, and the setting by its label or number. The editor suggests API names as you type and reports syntax errors, layers that do not exist and dependency loops before you apply; an expression that fails while playing shows its value without the expression.

Expressions, links and behaviours also drive a shape's paint, operator, combined shape, morph and repeater settings, a text's variable font axes, a counter's number and an effect's number settings (a custom shader's controls among them; Alt-click the setting's stopwatch for an expression): open the row in the keyframe editor, as for any property. A driven effect setting stays within its range, but for an angle that wraps, which keeps turning.

Choose **Convert to keyframes** in the expression editor to sample every frame of the clip, write linear keys, and turn the expression off in one undoable step. If the expression fails on any frame nothing is converted and the editor says which frame. Agents can do the same with `bake_expression` after setting an expression.

## Related

- [Clip properties](https://formats.app/docs/properties): Transform, crop, opacity and blend, and the type-specific controls for each kind of clip.
- [Effects and looks](https://formats.app/docs/effects-color): Apply quick Looks, stack GPU effects, import LUTs, and isolate corrections.
- [Text, captions and subtitles](https://formats.app/docs/text-captions-subtitles): Add and style text clips, generate captions from a transcript, and import embedded subtitle tracks.
