Skip to content
Tutorials Center
My learning

Topics

Lesson 23 of 37 ยท Animation and Rigging

Blender Keyframes and the Timeline: Animation Basics

Learn Blender animation basics: insert keyframes with I, scrub the Timeline, use the Dope Sheet, set frame rate and play a bouncing-ball style motion.

Animation means changing something over time. In Blender you do this with keyframes: you set a value (position, rotation, scale, color, light power, almost any number) at a chosen frame and Blender calculates the in-between frames. This lesson covers inserting keyframes, the Timeline and the Dope Sheet.

Blender cannot run on this site, so steps are described in words and the runnable stand-ins show how frames, keyframes and interpolation work as plain numbers.

Frames, time and frame rate

Animation is a sequence of still frames. The frame rate (Output Properties > Format > Frame Rate) is frames per second: 24 for film, 30 or 60 for smooth video. At 24 fps, frame 1 is time 0 seconds and frame 25 is 1 second later.

The Timeline editor at the bottom of the default Animation and Layout workspaces shows the current frame (the blue marker), the Start and End frames, and playback controls. Press Space to play and stop, Left and Right arrows to step one frame, Up and Down to jump between keyframes, and Shift+Left to return to the start frame.

Inserting keyframes

  1. Select an object and go to the frame you want, for example frame 1.
  2. Hover the cursor over the 3D Viewport and press I (in Blender 4.1 and newer this keys the properties in your Default Key Channels setting, usually Location, Rotation, Scale). In older versions I opens a menu with Location, Rotation, Scale, LocRotScale and more.
  3. Move to another frame (say 24), move the object and press I again.

Blender draws small diamonds in the Timeline. Fields that have keyframes turn yellow on the exact frame and green on other frames; orange means the value changed and is not yet keyed. Hover over any property (for example Location X in the sidebar or Properties editor) and press I to key only that property, Alt+I to delete its keyframe, and right-click a property for Insert Keyframes, Clear Keyframes and Add Driver.

Auto Keying (the red record circle in the Timeline header) inserts keyframes automatically whenever you change a value. It is fast but can create stray keys, so turn it off when you finish.

Python Stand-in: linear in-betweens from two keyframes

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Blender does exactly this for every frame, for every keyed property (although by default it uses a smooth curve rather than a straight line, see the Graph Editor lesson).

Moving keyframes in the Timeline and Dope Sheet

In the Timeline you can select a diamond, then press G to grab it and move it in time, S to scale a group of keys (speed up or slow down), X to delete, and Shift+D to duplicate. For more control, switch an editor to the Dope Sheet (Animation workspace). It shows one row per animated property, grouped by object, so you can:

  • Box select keys (B) and move or scale them in time.
  • Copy and paste poses: Ctrl+C, move the playhead, Ctrl+V. Ctrl+Shift+V pastes the mirrored pose.
  • Change the Interpolation Mode (T) and Handle Type (V).
  • Set the animation range from the selected keys with View > Set Preview Range to Selected.

The Dope Sheet's Action Editor mode manages actions: reusable bundles of animation data. A character can have a "walk" action and a "jump" action and you can store and swap them. Give important actions a fake user (the shield icon) so Blender does not discard them on save.

A bouncing ball in numbers

A good first project is a bouncing ball. The motion has three rules:

  1. Timing: contacts with the ground are evenly spaced or get closer together as the ball loses energy.
  2. Spacing: the ball moves fast near the ground and slows at the top.
  3. Squash and stretch: optional, for cartoon style.

The stand-in generates the height at every frame so you can pick which frames to key.

Python Stand-in: bouncing ball heights per frame

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In Blender you would key the Z location at the ground frames (ease in, accelerating) and the apex frames (ease out, slowing). Everything else is interpolated.

Animating more than location

Keyframes work on almost any property with a number:

  • Rotation, scale, visibility (Hide in Viewport and Hide in Render icons, one reason a 0 or 1 can be keyed).
  • Material values: hover over a Color or Strength field and press I.
  • Light Power, camera Focal Length and Focus Distance, modifier settings (for example the Subdivision Levels).
  • Shape keys, and bone poses in armatures (see Armatures and Weight Painting).

Animated values show up in the Dope Sheet and Graph Editor. A property with a driver is purple instead.

Playback range and preview

Set Start and End in the Timeline header to the frames you want to render; this is the same range used in Output Properties. Enable Preview Range (clock icon) to loop a small section while you polish it without changing the render range. In Playback (the dropdown in the Timeline) choose Sync: Sync to Audio or Play Every Frame. Use viewport shading Solid for fast playback.

Common mistakes

  • Keying every property of every object. Key only what changes (Location, for example).
  • Forgetting a final keyframe so the object keeps the last value but not the intended pose.
  • Leaving Auto Keying on and moving things accidentally.
  • Setting End to 250 and wondering why a 5-second clip at 24 fps ends early or late. Count: seconds times fps.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which shortcut inserts a keyframe while the mouse is over the 3D Viewport?

    I inserts keyframes. F12 renders and Tab toggles Edit Mode.
  2. 2. A property field is orange. What does that mean?

    Yellow means keyed on this frame, green means animated but not keyed here, orange means changed but not keyed, purple means driven.
  3. 3. At 24 fps, how many frames are in a 5 second animation?

    5 seconds times 24 frames per second equals 120 frames.
  4. 4. What is an action in Blender?

    An action stores keyframes (F-curves) so it can be saved, swapped and shared.

Summary

  • Keyframes store values at frames; Blender interpolates between them.
  • Press I to key, use the Timeline for quick edits and the Dope Sheet for timing.
  • Colors on fields show their animation state.
  • Plan timing and spacing first, for example with a bouncing ball.

Next: Graph Editor and Interpolation