Sub topic 4
Which Properties Can Be Animated
This chapter assumes you can navigate the 3D Viewport, select and move objects, and find fields in the Properties editor. It also assumes you know that a keyframe stores a value at a frame. Here you will learn how to tell which properties Blender can animate, how to read the field colors, and which cases fail or surprise people.
The working model
Blender animates properties, not objects. A property is a single named value stored on a data block, such as an object, a material, a camera, or the scene. A keyframe is attached to one property, or to one component of a property. Location is a property with three components (X, Y, Z). You can key all three, or only one.
Blender identifies each animated value by two things:
- The data block that owns it, such as the object "Cube".
- A data path, which is the property's name inside that data block, such as
location,rotation_euler, orscale.
A component is addressed by an index, so location[2] is the Z location. These two pieces appear later in the Dope Sheet as channels, and in Python as the data_path and index arguments.
A property can be animated when it is a numeric or choice-based value that Blender flags as animatable. That includes:
- Floats, integers, booleans, and enumerations (when the enum is animatable).
- Vectors, colors, and quaternions, which are groups of these values.
Properties that hold text, file paths, or references to other data blocks usually cannot be keyed.
Reading the field colors
The Properties editor tells you the state of every animatable field through its color. You do not need to guess.
| Field color | Meaning |
|---|---|
| Gray (default) | The property can be animated and has no keyframes. |
| Yellow | A keyframe exists on the current frame. |
| Green | The property is animated, but the current frame has no keyframe. |
| Orange | The property is animated and you changed it, but the change is not yet keyed. |
| Purple | The value is driven by a driver, not by keyframes. |
| Cyan | The property has an override (a library override), not an animation key. |
The orange state matters. If you move an object that has animation and then change frames without keying, Blender re-evaluates the animation and your edit is lost. Orange is the warning that this is about to happen.
A field that is not colored at all, or that cannot be right-clicked to insert a keyframe, is either not animatable or is locked by something else, such as a linked library data block.
Which properties you will animate most
Most beginner animation uses a short list.
- Object transforms: location, rotation, and scale.
- Visibility toggles in the Outliner and the Object properties, such as viewport and render visibility.
- Material values: Base Color, Roughness, Emission Strength, and the other node inputs.
- Light values: energy, color, and spot size.
- Camera values: focal length, depth-of-field distance, and shift.
- Modifier settings: a Subdivision level or a Displace strength, for example.
- Shape key values: the slider that blends one shape into another.
- World and scene settings: background color, frame rate, and many render settings.
For armatures, the bones' pose transforms are animatable in the same way as object transforms. That is covered with rigging, so this chapter keeps to objects.
Using the right-click menu and hotkey
You can insert a keyframe on any animatable field in two quick ways.
- Hover over the field and press
I. This keys that field, or the whole vector if the field is part of one. - Right-click the field and choose Insert Keyframe (the whole vector) or Insert Single Keyframe (only the component under the cursor).
The same right-click menu also offers Clear Keyframes, Delete Keyframe, Add Driver, and Copy Data Path. If Insert Keyframe is missing or grayed out, the property is not animatable in that context.
Compare the two insert choices on Location. Insert Keyframe adds three F-curves (X, Y, Z). Insert Single Keyframe adds one. Keying only one component keeps the other two free to change without creating extra keys.
A worked example: animating a material and a modifier
Suppose you want a cube to change color and gradually become smoother over 48 frames.
- Select the cube. Open the Material tab and find Base Color in the Principled BSDF panel.
- On frame 1, hover over Base Color and press
I. The field turns yellow. - Open the Modifiers tab, add a Subdivision Surface modifier, hover over Levels Viewport, and press
I. - Move to frame 48. Change Base Color to a different color. The field turns orange, because the animated value was changed but not keyed.
- Press
Iover Base Color again. It turns yellow. - Set Levels Viewport to 3 and press
Iover it.
In the Dope Sheet you now see channels for the object, the material, and the modifier, each with keys at frames 1 and 48. The material's keys are under the material, not under the object, because the data block that owns the property determines where its channel appears.
Edge cases and common errors
Integers and booleans do not blend. A value such as a Subdivision level or a visibility toggle has no in-between values. Blender holds one value and then jumps. Animating Levels Viewport from 0 to 3 steps through 1 and 2 only if the rounded interpolation crosses them, so the change looks abrupt. For a smooth effect, animate a float such as a shape key value or a displacement strength.
Enumerations step. Choice menus, such as a blend mode, switch at a keyframe boundary. They cannot ease between options.
Linked data is read-only. If the object or material comes from a linked library file, the fields do not accept keyframes. Make the data local, or use a library override, first.
Keying while the property is driven. A purple field already has a driver. A driver computes the value from an expression or another property, and it replaces the keyframe workflow. Remove the driver first if you want hand-keyed values.
Orange values are discarded. Changing an animated field and then moving to another frame replaces your edit with the animated value. Insert the keyframe before you move.
Keyframes on an unselected channel can hide. The Dope Sheet by default shows only selected objects. If you key a property and cannot find it, enable or disable Only Show Selected in the header.
Python scripts must match the data path. Only properties that exist on the data block can be keyed. A wrong path raises an error rather than doing nothing. For example, the following script keys the Z location of the active object and an animatable object property by name:
import bpy
obj = bpy.context.active_object
obj.location = (0.0, 0.0, 0.0)
obj.keyframe_insert(data_path="location", index=2, frame=1)
obj.location = (0.0, 0.0, 3.0)
obj.keyframe_insert(data_path="location", index=2, frame=24)
print(obj.animation_data.action.name)Passing index=2 keys only the Z component, which matches the Insert Single Keyframe choice in the interface. Without index, all three components are keyed. Run the script with an object active, such as the default cube.
Quick checks
Use these when a property will not animate.
- Is the field a number, color, boolean, or enum? Text and references usually are not animatable.
- Does the field show a color? If it stays plain gray after you press
I, nothing was keyed. Look for a warning in the Info bar or status bar. - Is the data block linked or an override? It may be read-only.
- Is the field purple? A driver is in control.
- Did you expect the animation under the object? Look under the owning data block, such as the material, instead.
Exercise
You select a cube with an animated Location, change its X value at frame 10 without pressing I, and the field turns orange. You then click frame 20. What does the X value show at frame 20 and why? What would you do at frame 10 to keep your change?
Show answer
At frame 20 the X value comes from the animation curve again, so your edit from frame 10 is gone. The orange color warned that the value differed from the animation and was not keyed. To keep the change, hover over the X field at frame 10 and press I (or right-click and choose Insert Single Keyframe) before changing frames.
Exercise
You keyed the Base Color of a material and cannot find the channel under the object in the Dope Sheet. Where is it, and what header option might also hide it?
Show answer
The channel is stored under the material data block, nested beneath the object in the channel list, because the data block that owns the property owns its animation. The Only Show Selected option in the Dope Sheet header can hide it if the owning object is not selected.