Sub topic 4
Which Properties Can Be Animated in Blender
Prerequisites
You should know how to select an object, change its location, rotation, and scale, and work with the Properties editor. You should also know how to change an area to the Timeline or Dope Sheet.
Blender can animate many values, but not every setting. A property is animatable when Blender exposes a keyframe control for it. The control usually looks like a small diamond beside the property.
Object Transforms
The most common animated properties are an object's transforms:
- Location, which moves the object.
- Rotation, which turns the object.
- Scale, which changes its size.
- Delta transforms, which add an extra transform on top of the normal transform.
- Visibility settings, such as whether the object is hidden in the viewport or render.
In the 3D Viewport, select an object and press I. Blender opens the Insert Keyframe Menu. Choose a group such as Location, Rotation, or LocRotScale. Blender inserts keys for the selected properties at the current frame.
You can also animate one property at a time. Hover over a property field and press I, or click the diamond beside the field. This is useful when you want to animate only the Z location and leave X and Y unchanged.
Other Animatable Values
Animation is not limited to transforms. Many values in the Properties editor can change over time.
| Property area | Example animated value | Typical use |
|---|---|---|
| Object | Location or visibility | Move an object or make it appear |
| Material | Roughness or color | Change a surface over time |
| Modifier | Strength or factor | Reveal, deform, or change geometry |
| Constraint | Influence | Blend between controlled and free motion |
| Camera | Focal length | Create a zoom effect |
| Light | Power or color | Change lighting during a shot |
A diamond beside a field means that Blender can insert a keyframe for that field. If there is no diamond, that exact value cannot normally receive a keyframe directly. You may still animate a related property, use a driver, or change the setup.
caption: Animatable properties become channels in an object's animation data
alt: A flowchart showing a property changing into keyframes, then into an action and Dope Sheet channel
flowchart TD
A[Animatable property] --> B[Keyframes]
B --> C[F-curve]
C --> D[Action]
D --> E[Dope Sheet channel]Reading Property Colors
Blender uses field colors to show animation state. A yellow field usually has a keyframe on the current frame. A green field usually belongs to an animated property, but the current frame does not have a keyframe for that value. A purple field is usually driven by another value rather than controlled directly by keyframes.
These colors help diagnose mistakes. For example, if you change a location field and it turns green instead of yellow, you changed an animated value between keys. You may need to insert or update a keyframe.
Keyframing with Python
Blender's Python API can keyframe properties with keyframe_insert. This example animates location and rotation on the active object:
import bpy
import math
obj = bpy.context.active_object
scene = bpy.context.scene
scene.frame_start = 1
scene.frame_end = 48
scene.frame_set(1)
obj.location = (0.0, 0.0, 0.0)
obj.rotation_euler = (0.0, 0.0, 0.0)
obj.keyframe_insert(data_path="location")
obj.keyframe_insert(data_path="rotation_euler")
scene.frame_set(48)
obj.location = (0.0, 0.0, 2.0)
obj.rotation_euler.z = math.radians(180)
obj.keyframe_insert(data_path="location")
obj.keyframe_insert(data_path="rotation_euler")The data_path identifies the property to animate. Blender creates animation channels for those properties, and the Dope Sheet can display their keyframes.
Exercise
You want an object to move upward but remain at the same horizontal position. Which property should you keyframe, and how can you check whether it has a keyframe on the current frame?
Show answer
Keyframe the Z component of Location. Check the Location Z field for the keyframe color, or look for its keyframe in the Dope Sheet at the current frame.