User Guide Cancel

Setting, selecting, and deleting keyframes

  1. After Effects User Guide
  2. Beta releases
    1. Beta Program Overview
    2. After Effects Beta Home
  3. Getting started
    1. Get started with After Effects
    2. What's new in After Effects 
    3. Release Notes | After Effects
    4. After Effects system requirements
    5. Keyboard shortcuts in After Effects
    6. Supported File formats | After Effects
    7. Hardware recommendations
    8. After Effects for Apple silicon
    9. Planning and setup
  4. Workspaces
    1. General user interface items
    2. Get to know After Effects interface
    3. Workflows
    4. Workspaces, panels, and viewers
  5. Projects and compositions
    1. Projects
    2. Composition basics
    3. Precomposing, nesting, and pre-rendering
    4. View detailed performance information with the Composition Profiler
    5. CINEMA 4D Composition Renderer
  6. Importing footage
    1. Preparing and importing still images
    2. Importing from After Effects and Adobe Premiere Pro
    3. Importing and interpreting video and audio
    4. Preparing and importing 3D image files
    5. Importing and interpreting footage items
    6. Working with footage items
    7. Detect edit points using Scene Edit Detection
    8. XMP metadata
  7. Text and Graphics
    1. Text
      1. Formatting characters and the Character panel
      2. Text effects
      3. Creating and editing text layers
      4. Formatting paragraphs and the Paragraph panel
      5. Extruding text and shape layers
      6. Animating text
      7. Examples and resources for text animation
      8. Live Text Templates
    2. Motion Graphics
      1. Work with Motion Graphics templates in After Effects
      2. Use expressions to create drop-down lists in Motion Graphics templates
      3. Work with Essential Properties to create Motion Graphics templates
      4. Replace images and videos in Motion Graphics templates and Essential Properties
      5. Animate faster and easier using the Properties panel
  8. Drawing, Painting, and Paths
    1. Overview of shape layers, paths, and vector graphics
    2. Paint tools: Brush, Clone Stamp, and Eraser
    3. Taper shape strokes
    4. Shape attributes, paint operations, and path operations for shape layers
    5. Use Offset Paths shape effect to alter shapes
    6. Creating shapes
    7. Create masks
    8. Remove objects from your videos with the Content-Aware Fill panel
    9. Roto Brush and Refine Matte
  9. Layers, Markers, and Camera
    1. Selecting and arranging layers
    2. Blending modes and layer styles
    3. 3D layers
    4. Layer properties
    5. Creating layers
    6. Managing layers
    7. Layer markers and composition markers
    8. Cameras, lights, and points of interest
  10. Animation, Keyframes, Motion Tracking, and Keying
    1. Animation
      1. Animation basics
      2. Animating with Puppet tools
      3. Managing and animating shape paths and masks
      4. Animating Sketch and Capture shapes using After Effects
      5. Assorted animation tools
      6. Work with Data-driven animation
    2. Keyframe
      1. Keyframe interpolation
      2. Setting, selecting, and deleting keyframes
      3. Editing, moving, and copying keyframes
    3. Motion tracking
      1. Tracking and stabilizing motion
      2. Face Tracking
      3. Mask Tracking
      4. Mask Reference
      5. Speed
      6. Time-stretching and time-remapping
      7. Timecode and time display units
    4. Keying
      1. Keying
      2. Keying effects
  11. Transparency and Compositing
    1. Compositing and transparency overview and resources
    2. Alpha channels and masks
    3. Track Mattes and Traveling Mattes
  12. Adjusting color
    1. Color basics
    2. Color management
    3. Color Correction effects
    4. OpenColorIO and ACES color management
  13. Effects and Animation Presets
    1. Effects and animation presets overview
    2. Effect list
    3. Effect Manager
    4. Simulation effects
    5. Stylize effects
    6. Audio effects
    7. Distort effects
    8. Perspective effects
    9. Channel effects
    10. Generate effects
    11. Time effects
    12. Transition effects
    13. The Rolling Shutter Repair effect
    14. Blur and Sharpen effects
    15. 3D Channel effects
    16. Utility effects
    17. Matte effects
    18. Noise and Grain effects
    19. Detail-preserving Upscale effect
    20. Obsolete effects
  14. Expressions and Automation
    1. Expressions
      1. Expression basics
      2. Understanding the expression language
      3. Using expression controls
      4. Syntax differences between the JavaScript and Legacy ExtendScript expression engines
      5. Editing expressions
      6. Expression errors
      7. Using the Expressions editor
      8. Use expressions to edit and access text properties
      9. Expression language reference
      10. Expression examples
    2. Automation
      1. Automation
      2. Scripts
  15. Immersive video, VR, and 3D
    1. Construct VR environments in After Effects
    2. Apply immersive video effects
    3. Compositing tools for VR/360 videos
    4. Advanced 3D Renderer
    5. Import and add 3D models to your composition
    6. Import 3D models from Creative Cloud Libraries
    7. Image-Based Lighting
    8. Extract and animate lights and cameras from 3D models
    9. Tracking 3D camera movement
    10. Cast and accept shadows
    11. Embedded 3D model animations
    12. Shadow Catcher
    13. 3D depth data extraction
    14. Modify materials properties of a 3D layer
    15. Work in 3D Design Space
    16. 3D Transform Gizmos
    17. Do more with 3D animation
    18. Preview changes to 3D designs real time with the Mercury 3D engine
    19. Add responsive design to your graphics 
  16. Views and Previews
    1. Previewing
    2. Video preview with Mercury Transmit
    3. Modifying and using views
  17. Rendering and Exporting
    1. Basics of rendering and exporting
    2. H.264 Encoding in After Effects
    3. Export an After Effects project as an Adobe Premiere Pro project
    4. Converting movies
    5. Multi-frame rendering
    6. Automated rendering and network rendering
    7. Rendering and exporting still images and still-image sequences
    8. Using the GoPro CineForm codec in After Effects
  18. Working with other applications
    1. Dynamic Link and After Effects
    2. Working with After Effects and other applications
      1. Export After Effects project as Premiere Pro project
    3. Sync Settings in After Effects
    4. Creative Cloud Libraries in After Effects
    5. Plug-ins
    6. Cinema 4D and Cineware
  19. Collaboration: Frame.io, and Team Projects
    1. Collaboration in Premiere Pro and After Effects
    2. Frame.io
      1. Install and activate Frame.io
      2. Use Frame.io with Premiere Pro and After Effects
      3. Frequently asked questions
    3. Team Projects
      1. Get Started with Team Projects
      2. Create a Team Project
      3. Collaborate with Team Projects
  20. Memory, storage, performance
    1. Memory and storage
    2. How After Effects handles low memory issues while previewing    
    3. Improve performance
    4. Preferences
    5. GPU and GPU driver requirements for After Effects
  21. Knowledge Base
    1. Known issues
    2. Fixed issues
    3. Frequently asked questions
    4. After Effects and macOS Ventura
    5. How After Effects handles low memory issues while previewing

What are keyframes?

Keyframes are used to set parameters for motion, effects, audio, and many other properties, usually changing them over time. A keyframe marks the point in time where you specify a value for a layer property, such as spatial position, opacity, or audio volume. Values between keyframes are interpolated. When you use keyframes to create a change over time, you typically use at least two keyframes—one for the state at the beginning of the change and one for the new state at the end of the change.

When the stopwatch is active for a specific property, After Effects automatically sets or changes a keyframe for the property at the current time whenever you change the property value. When the stopwatch is inactive for a property, the property has no keyframes. If you change the value for a layer property while the stopwatch is inactive, that value remains the same for the duration of the layer.

Set or add keyframes

When the stopwatch is active for a specific property, After Effects automatically adds or changes a keyframe for the property at the current time whenever you change the property value.

To activate the stopwatch and enable keyframing, do one of the following:

  • Select the Stopwatch icon   next to the property name to activate it. After Effects creates a keyframe at the current time for that property value.
  • Choose Animation > Add [x] Keyframe, where [x] is the name of the property you are animating.

Add a keyframe without changing a value

To add a keyframe without changing a value, do one of the following:

  • Select the keyframe navigator option for the layer property.

  • Choose Animation > Add [x] Keyframe, where [x] is the name of the property you are animating.

  • Select a segment of the layer property’s graph in the Graph Editor with the Pen tool  .

Auto-keyframe mode

To turn auto-keyframe mode on, select Enable Auto-keyframe from the Timeline panel menu. When Auto-keyframe mode is enabled, modifying a property automatically activates its stopwatch and adds a keyframe at the current time.

The Timeline panel settings menu is open and the Enable Auto-keyframe option is selected.
When the Enable Auto-keyframe mode is enabled, modifying a property automatically adds a keyframe at the current time.

Note:

Auto-keyframe mode doesn’t automatically activate the stopwatch for properties that aren’t interpolated, such as menus, checkboxes, and the Source Text property.

Auto-keyframe mode is off by default. When Auto-keyframe mode is off, modifying properties and animating with keyframes behave as in previous versions of After Effects.

Move the current-time indicator (CTI) to a keyframe

After you set the initial keyframe for a property, After Effects displays the keyframe navigator. You can use the keyframe navigator to move from keyframe to keyframe or to set or remove keyframes. When the keyframe navigator box is filled with a diamond, the current-time indicator lies precisely at a keyframe for that layer property. When the keyframe navigator box is not filled , the current-time indicator lies between keyframes.

Note:

To detach the keyframe navigator from the A/V Features column to function as its own column, select Column > Keys from the Timeline panel menu.

Keyframe navigator in Timeline panel
Keyframe navigator in Timeline panel

A. Keyframe at current time B. No keyframe at current time C. No keyframes for layer property 

  • To move to the next or previous keyframe, click a keyframe navigator arrow.
  • To snap to a keyframe or marker, Shift-drag the current-time indicator.
  • To move to the next or previous visible item in the time ruler (keyframe, marker, or work area end), press K or J.
  • To move to the earliest In point and the latest Out point when multiple layers are selected, select all the layers and press I and O, respectively. (Currently in beta)

Learn more about moving the current-time indicator (CTI) to other elements and times. 

Tip:

Add Shift to the J and K hotkeys to quickly jump between keyframes and markers of selected layers and properties.

Select keyframes

In layer bar mode, by default, the unselected keyframes are gray, and selected ones have blue outlines. You also have the option to apply different colors to these keyframes for easy identification and management.

In Graph Editor mode, the appearance of a keyframe icon depends on whether the keyframe is selected, unselected, or semi-selected (another keyframe in the same property is selected). Selected keyframes are solid yellow. Unselected keyframes retain the color of their corresponding graph. Semi-selected keyframes are represented by a hollow yellow box.

  • To select a keyframe, select the keyframe icon.
  • To select multiple keyframes, Shift-click the keyframes or drag a marquee (selection box) around the keyframes. If a keyframe is selected, Shift-clicking it deselects it. Shift-dragging to draw a marquee around selected keyframes deselects them.
  • To select multiple keyframes with the same color group, select the keyframe with the identified color > Right-click > Select Keyframe Label Group or Edit > Select Keyframe Label Group.
Note:

To toggle viewing of the free-transform bounding box in the Graph Editor, select the Show Transform Box button   at the bottom of the Graph Editor.

  • To select all keyframes for a layer property, Alt-click (Windows) or Option-click (macOS) a segment between two keyframes in the Graph Editor or select the layer property name in the layer outline.
  • To select all keyframes for a property with the same value, right-click (Windows) or Control-click (macOS) a keyframe and choose Select Equal Keyframes.
  • To select all keyframes that follow or precede a selected keyframe, right-click (Windows) or Control-click (macOS) a keyframe, and choose Select Previous Keyframes or Select Following Keyframes.
Note:

The Select Previous Keyframes and Select Following Keyframes commands aren’t available if more than one keyframe is selected.

Keyframe menu commands

When you select one or more keyframes, the keyframe menu becomes available at the bottom of the Graph Editor.

Note:

To open the keyframe menu, right-click (Windows) or Control-click (macOS) a keyframe.

Value

Displays the value of the selected keyframe. If more than one keyframe is selected, the Display Value command is available, which displays the value of the highlighted keyframe in the selection.

Edit Value

Opens a dialog box in which you can edit the value of the keyframe.

Select Keyframe Label Group

Selects keyframes with the same color group on a selected layer or all layers.

Select Equal Keyframes

Selects all keyframes in a property that have the same value.

Select Previous Keyframes

Selects all keyframes preceding the currently selected keyframe.

Select Following Keyframes

Selects all keyframes following the currently selected keyframe.

Toggle Hold Keyframe

Holds the property value at the value of the current keyframe until the next keyframe is reached.

Keyframe Interpolation

Opens the Keyframe Interpolation dialog box.

Rove Across Time

Toggles Rove Across Time for spatial properties.

Keyframe Velocity

Opens the Keyframe Velocity dialog box.

Keyframe Assistant

Opens a submenu with the following options:

  • Convert Audio To Keyframes: Analyzes amplitude within the composition work area and creates keyframes to represent the audio.
  • Convert Expression To KeyframesAnalyzes the current expression and creates keyframes to represent the property values it describes.
  • Create Keyframes from Data: Uses data points for animation keyframes instead of manually setting keyframes.
  • Easy Ease: Automatically adjusts the influence into and out of a keyframe to smooth out sudden changes.
  • Easy Ease In: Automatically adjusts the influence into a keyframe.
  • Easy Ease Out: Automatically adjusts the influence out of a keyframe.
  • Exponential Scale: Converts the rate of change in scale from linear to exponential.
  • RPF Camera Import: Imports RPF camera data from third-party 3D modeling applications.
  • Sequence Layers: Opens the Sequence Layers assistant.
  • Time-Reverse Keyframes: Reverses selected keyframes in time.

Keyframe Color Labels

Assign colors to keyframes in your composition to visually separate keyframes in the timeline. Coloring your keyframes helps you to organize, identify, and quickly locate critical components of your composition. You can also use the color labels to quickly select keyframes with the same color group.

To set or change the keyframe colors, select Edit > Label > Choose the colors from the list.

Tip:

You can also go to the Timeline panel, right-click the keyframe > Label > Choose the colors from the list.

Customize keyframe label colors

Keyframe label colors are shared with layers and other objects in After Effects. You can customize and set these label colors according to your preference.

  1. Right-click the keyframe  > Label > Edit Label Colors.

  2. In the Preferences window, under Label Colors, use the color picker to choose the color.

    The Preferences dialog box is open and there are Label Defaults, Markers, and Label Colors sections available to configure.
    Use the Label Colors section to edit color labels and rename them.

  3. Rename it if you want to personalize the label colors. 

  4. Click OK to complete.

Select keyframes by color

You can use the keyframes color as the basis for a selection in the Timeline panel. Use only a single keyframe to quickly choose keyframes from the same color group in selected or multiple layers.

Right-click the keyframe  > Select Keyframe Label Group.

On Selected Layers

Select the keyframes with the same label group on selected layers.

On All Layers

Select the keyframes with the same label group on all layers in the composition.

Visible Keyframes on Selected Layers

Select only visible keyframes with the same label group on all layers in the composition. Visible keyframes are keyframes on properties that are currently twirled open in the Timeline panel.

Visible Keyframes on All Layers

Select only visible keyframes with the same label group on all layers in the composition.

Note:

To quickly select only visible keyframes with the same label group on all layers in the composition, you can also select Edit > Label > Select Label Group.

Delete or disable keyframes

Note:

If you accidentally delete keyframes, select Edit > Undo.

  • To delete any number of keyframes, select them and then press the Delete key.
  • To delete one keyframe in the Graph Editor, Ctrl-click (Windows) or Command-click (macOS) a keyframe with the Selection tool.
  • To delete all keyframes for one layer property, select the stopwatch button   to the left of the name of the layer property to deactivate it.

    When you select the stopwatch button to deactivate it, keyframes for that property are permanently removed, and the value of that property becomes the value at the current time. You cannot restore deleted keyframes by clicking the stopwatch button again. Deleting all keyframes does not delete or disable expressions.

  • To temporarily disable keyframes for a property, add an expression that sets the property to a constant value. For example, you can add this very simple expression to the Opacity property to set it to 100%: 100.

More like this

Get help faster and easier

New user?