Sub topic 4
Managing channels: selecting, hiding, locking, muting and grouping
This chapter assumes you can open the Graph Editor, insert keyframes on location, rotation and scale, and scrub the Timeline. It also assumes you know that an F-curve stores one property's value over time. Here you learn to control the channel list, the left-hand panel of the Graph Editor. A scene with many animated objects quickly becomes unreadable unless you manage that list.
What the channel list shows
The channel list is a tree. The levels depend on your Blender version and settings, but the usual shape is an object, its action, optional groups, and then F-curve channels such as "X Location" and "Z Euler Rotation". Each F-curve channel has a colored swatch. With the default XYZ to RGB color mode, X curves are red, Y green and Z blue.
Two filters decide which channels appear at all. Only Show Selected (the arrow icon in the header) lists only the animation of selected objects. It is on by default, and it is the usual reason a channel "disappeared". Only Show Errors lists curves whose data path no longer resolves, for example after a bone or property was renamed. You can also type in the search field of the Filters popover to match channel names.
Selecting channels
Selecting a channel highlights the curve and makes it the active one. Selected curves draw brighter, and in the editing region their keyframes become editable in the way described in the later chapter on selecting and transforming keys.
- Click a channel to select only it.
- Ctrl+click extends the selection. In recent versions Shift+click selects a range between the active channel and the clicked one.
- Drag a box in the channel list to select several channels.
- A selects all channels, Alt+A deselects, and Ctrl+I inverts.
- Clicking a group selects the group. In a collapsed group this is a quick way to work on all its curves.
Selecting a channel is not the same as selecting its keyframes. A curve can be selected with no selected keys, and keys on unselected curves can be selected. If a transform does nothing, check both. The Graph Editor has a setting, Only Selected Keyframes Handles, and an editing option that lets you select keys only on selected curves. Both change what a click in the editing region can hit.
Hiding channels
The eye icon (checkbox in older versions) on a channel controls visibility in the Graph Editor. A hidden curve is not drawn, and you cannot click its keys. It still plays back, and the property still animates. Hiding changes only what you see.
Useful shortcuts in the editing region:
- H hides the selected curves.
- Shift+H hides every curve except the selected ones. This is the quickest way to isolate one curve.
- Alt+H reveals everything.
Hiding is stored per F-curve, and the Dope Sheet ignores it. A curve you hid in the Graph Editor still shows up in the Dope Sheet.
Locking channels
The padlock toggles protection. A locked channel still plays back and still draws, but you cannot move, delete or insert keys on it. Edits that apply to a selection skip locked curves. Use it to protect a finished curve while you rework a neighbor, for example locking the rotation curves while you tweak location.
If an edit silently affects fewer curves than you expected, look for padlocks first.
Muting channels
The mute checkbox is different. A muted channel is ignored during evaluation. The F-curve stops driving its property, so the property keeps the value it currently holds, or the value you set by hand. Mute is how you ask "what does this look like without this curve?" without deleting anything.
- Unchecking the box mutes the channel. A muted curve is drawn dimmed.
- Muting a group mutes every curve inside it.
- Un-muting restores the animation exactly as it was.
Mute is stored in the F-curve, so it is saved in the file and survives rendering. Remember to un-mute before you render, or the muted property stays at its static value.
Comparing the three toggles
| Toggle | Curve drawn in Graph Editor | Curve can be edited | Curve drives property | Saved in file |
|---|---|---|---|---|
| Hide | No | No (cannot be clicked) | Yes | Yes |
| Lock | Yes | No | Yes | Yes |
| Mute | Yes (dimmed) | Yes | No | Yes |
A common error is muting a curve to hide clutter. The property then stops animating, and the viewport changes. If you only want less clutter, hide. If you want protection, lock. If you want to test the animation without a curve, mute.
Grouping channels
A group is a named container of F-curves inside an action. When you press I over a property such as location, Blender creates a group named "Object Transforms" automatically for the transform curves. For bones, the group is named after the bone. Custom properties and material values usually have no group until you make one.
To make your own group, select channels and press Ctrl+G in the channel list. A menu offers to add the selected channels to a new group. Alt+G removes the selected channels from their group. Double-click a group name to rename it.
Groups give you three things:
- Collapsing. Collapse a group with the arrow, or use Ctrl+NumpadMinus and Ctrl+NumpadPlus to collapse and expand every group. A collapsed group still draws its curves in the editing region.
- Bulk toggles. Hide, lock and mute on a group apply to every child. Toggling a single child later does not change the group's own state.
- Color. A group can use a theme color set so related curves stand out in a long list.
Group membership affects only organization. It does not change the data path of a curve, and moving a curve between groups does not change how the property animates.
Doing the same from Python
Every toggle above is a property on the F-curve, and groups are ActionGroup objects on the action. This script prints the state of each channel, then mutes the Y location curve and puts the transform curves in a custom group. It uses action.fcurves, which applies to Blender versions before the slotted-actions change, so check the API docs for your version.
import bpy
obj = bpy.context.object
action = obj.animation_data.action
for fc in action.fcurves:
group = fc.group.name if fc.group else None
print(fc.data_path, fc.array_index, group,
"hide:", fc.hide, "lock:", fc.lock,
"mute:", fc.mute, "select:", fc.select)
# Mute the Y location curve, if it exists.
y_loc = action.fcurves.find("location", index=1)
if y_loc:
y_loc.mute = True
# Collect location curves into a new group.
group = action.groups.get("My Location") or action.groups.new("My Location")
for fc in action.fcurves:
if fc.data_path == "location":
fc.group = group
fc.lock = False
fc.hide = FalseNote that fcurves.find returns None when the curve does not exist, which is why the script checks before setting mute.
A working routine
For a scene with several animated objects, this order keeps the channel list manageable:
- Turn on Only Show Selected and select the object you are working on.
- Collapse groups you are not editing.
- Press Shift+H with the target curve selected to isolate it.
- Lock curves that are finished.
- Mute a curve briefly to compare with and without it, and un-mute it again.
- Press Alt+H when you are done so nothing stays hidden by accident.
Common errors
- A curve is missing. Check Only Show Selected, the name filter, and the hide toggle in that order. Then check that the channel's group is expanded.
- Keys will not move. The channel is locked, or the keys are not selected.
- The property ignores the animation. The channel or its group is muted, or another animation layer or driver overrides it.
- Only some curves change after a group edit. Locked children are skipped.
Exercise
You hid the Z location curve with H, and now the object still moves up and down in playback. You then mute the Y rotation curve, and the object's rotation stops animating. Explain why the two toggles behave differently, and which one you should use to temporarily protect the Z location curve from accidental edits.
Show answer
Hiding only removes the curve from the Graph Editor display, so the F-curve still evaluates and the property keeps animating. Muting removes the curve from evaluation, so the Y rotation property stops being driven. To protect the Z location curve from accidental edits while keeping it visible and animating, lock it with the padlock.
Exercise
Write a short Python snippet that locks every F-curve in the active object's action whose data path starts with "rotation".
Show answer
import bpy action = bpy.context.object.animationdata.action for fc in action.fcurves: if fc.datapath.startswith("rotation"): fc.lock = True