Sub topic 14
Keyframe types
This chapter covers the keyframe types in Blender: what each one looks like in the Dope Sheet, how to set it, and what it does and doesn't change. It assumes you can insert keyframes, select them in the Dope Sheet, and change interpolation, as covered in earlier chapters.
What a keyframe type is
Every keyframe in Blender has a type. The type is a label stored on the key. It changes how the key is drawn in the Dope Sheet, the Timeline, and the Graph Editor. It does not change the key's value, its frame, its interpolation, or the shape of the curve.
Two keys with the same value and the same interpolation produce the same motion, whatever their types. The label records your intent, for example "this is a main pose" or "this is a helper pose". When you come back to a scene later, or hand it to someone else, the labels make the structure of the animation easier to read.
The types
| Type | Appearance in the Dope Sheet | Typical use |
|---|---|---|
| Keyframe | Large white diamond (default) | General-purpose keys |
| Extreme | Large pink-red diamond | The main poses that define the action, such as the top and bottom of a jump |
| Breakdown | Small cyan diamond | A pose between extremes that shapes the path of the motion |
| Jitter | Small green diamond | Small variations added to a held pose to keep it alive, or keys left over from noisy data |
| Moving Hold | Dark gray diamond, slightly smaller than a Keyframe | A hold where the pose is nearly still but drifts slightly |
| Generated | Small, faint diamond | Keys created automatically by tools, such as baking |
Selected keys are drawn in a warmer, brighter tint of their type color. Check the colors in your own theme (Preferences > Themes > Dope Sheet), because they are theme settings.
Setting the type of existing keys
- In the Dope Sheet, select the keys you want to relabel.
- Press
R, or choose Key > Keyframe Type. - Pick a type from the menu.
The change applies only to the selected keys. You can select keys across several channels and relabel them all at once. The same menu is available in the Graph Editor.
The type is stored per key, not per channel. If you select only the Z Location key at frame 24, the X and Y keys at frame 24 keep their old type. To relabel a whole pose, select the summary row or the group row, which selects every key beneath it at that frame.
Setting the type of new keys
The type of a newly inserted key comes from a scene setting. In the Timeline, open the Keying popover (the key icon in the header) and change New Keyframe Type. Every key you insert afterward, with I in the 3D Viewport or through Auto Keying, uses that type until you change the setting again.
This allows a blocking workflow. Set New Keyframe Type to Extreme, pose the main poses, then switch to Breakdown and add the poses between them.
If you forget to switch back, every later key keeps the last type. Check the Dope Sheet after a long keying session.
Working with types in practice
Blocking with extremes and breakdowns
In a pose-to-pose workflow you first key the poses that tell the story. Label those Extreme. Then you key the poses that decide how the character gets from one extreme to the next, and label those Breakdown. When you open the Dope Sheet afterward, the large pink keys show the skeleton of the shot and the small cyan keys show the refinements.
This is useful when retiming. If a shot is too slow, you can see which keys carry the story and which are secondary, and you can move them together.
Moving holds
A hold is a stretch where a value stays the same. When two neighboring keys on a channel have the same value, the Dope Sheet draws a bar between them. This is automatic and does not depend on the keyframe type.
A held pose that is perfectly still often looks dead on screen. A Moving Hold is a key placed at the end of a hold where the value has drifted a small amount, so the pose settles instead of freezing. Labeling that key as Moving Hold marks it as intentional, so nobody "cleans it up" by making it match the previous key.
Jitter and Generated
Jitter marks small, deliberate or incidental variations. Generated marks keys that a tool created for you instead of you placing them by hand. Neither changes behavior. They are useful for filtering by eye when you are cleaning up an action.
Decision guide
Gotchas
- Type is not interpolation. Changing a key to Breakdown does not make the motion smoother or linear. Use Interpolation Mode (
T) for that. - Type is not selection. Relabeling keys does not change which keys are selected, and selecting by color is not a built-in shortcut in every version. If you need to find all Extremes, look for the large pink diamonds in the Dope Sheet.
- Duplicates carry their type. When you duplicate keys with
Shift+D, the copies keep the original's type. Check the copies if you meant them to play a different role. - Re-keying an existing frame. When you press
Ion a frame that already has a key, the value is updated. Look at the Dope Sheet afterward to confirm the type is what you expect. - Theme colors differ. Custom themes can recolor the types, so a "pink" key may look different on another machine.
Setting types with Python
Each keyframe point on an F-curve has a type property. The following script keys an object at three frames, then labels the first and last as Extreme and the middle one as Breakdown. It uses the F-curve access found in Blender 2.8 through 4.x. Newer versions with layered actions may access F-curves differently.
import bpy
obj = bpy.context.active_object
for frame, z in ((1, 0.0), (12, 1.0), (24, 0.0)):
obj.location = (0.0, 0.0, z)
obj.keyframe_insert(data_path="location", frame=frame)
action = obj.animation_data.action
for fcurve in action.fcurves:
for keyframe in fcurve.keyframe_points:
frame = keyframe.co.x
if frame in (1, 24):
keyframe.type = 'EXTREME'
else:
keyframe.type = 'BREAKDOWN'Run it with a mesh object active, then look at the Dope Sheet. Each of the three location channels shows large pink keys at frames 1 and 24 and a small cyan key at frame 12. The valid values are 'KEYFRAME', 'BREAKDOWN', 'MOVING_HOLD', 'EXTREME', 'JITTER', and 'GENERATED'.
To change the type for future keys, set bpy.context.scene.tool_settings.keyframe_type = 'EXTREME'. This is the same setting as New Keyframe Type in the Keying popover.
Exercise
You have a bouncing ball with keys at frames 1, 12, and 24 on Z Location. Frames 1 and 24 are the ball on the ground, and frame 12 is the top of the bounce. You select the frame 12 key in the Dope Sheet and set its type to Breakdown. Does the ball's motion change? What would you change if you wanted the top of the bounce to be marked as a main pose?
Show answer
The motion does not change. Keyframe type is a display label and does not affect value, frame, or interpolation. To mark the top of the bounce as a main pose, select that key, press R in the Dope Sheet, and choose Extreme. The key is then drawn as a large pink diamond.