Sub topic 5
Switching Between Modes
Assume you can select objects and navigate the 3D Viewport. You should also know that a mesh contains vertices, edges, and faces. This chapter focuses on changing Blender’s interaction mode without losing track of what is selected or what will be changed.
Why modes matter
An interaction mode controls which part of Blender’s scene you can work on. Object Mode works with complete objects. Edit Mode works with the data inside a selected object, such as the vertices, edges, and faces of a mesh.
The same keyboard shortcut can behave differently in different modes. A transform in Object Mode moves an object. A transform in Edit Mode moves selected geometry inside that object. Switching modes is therefore a decision about the target of your next action.
The two common modes
Object Mode is the normal scene-management mode. Use it to select objects, move them, change their transforms, add modifiers, and organize the scene. The Outliner and the object-level properties are especially important here.
Edit Mode exposes the selected object’s editable data. For a mesh, you can select and change vertices, edges, and faces. You can extrude, dissolve, subdivide, or reshape this geometry without changing which object exists in the scene.
The mode selector in the upper-left area of the 3D Viewport displays the current mode. Click it to choose another available mode. With a mesh object selected, the menu normally includes Object Mode and Edit Mode.
Switching with the Tab key
The fastest way to switch between Object Mode and Edit Mode is Tab.
- In Object Mode, select a mesh object.
- Press
Tabto enter Edit Mode. - Select or edit mesh components.
- Press
Tabagain to return to Object Mode.
Blender usually preserves the component selection while you are in Edit Mode. When you return later, the selection may still be active. Check the selection before making a destructive edit.
You can also use the mode menu when you want to switch to a mode other than the usual toggle. The menu is useful when a shortcut does not work or when you need to confirm the current mode.
Common switching problems
If Tab does nothing, check these conditions:
- An object is selected and active.
- The active object supports the mode you want.
- The mouse is over the 3D Viewport when you press the shortcut.
- You are not editing text in another editor.
- A modal operation, such as an active transform, has finished.
A mesh can enter Edit Mode, but a camera and a light cannot edit mesh geometry. Other object types provide their own modes, such as Pose Mode for an armature.
Entering Edit Mode with several mesh objects selected can enable multi-object editing. The active object determines the main context, while the selected objects can all expose editable mesh data. This is useful for consistent changes, but it also increases the number of objects affected by an operation. Confirm the selection before you begin.
Switching with Python
Blender’s Python API can read the active object’s mode and request a mode change. The operator depends on the current context, so run it from Blender’s Text Editor while a mesh object is active.
import bpy
obj = bpy.context.active_object
if obj is None or obj.type != 'MESH':
raise RuntimeError("Select an active mesh object first")
if obj.mode != 'OBJECT':
bpy.ops.object.mode_set(mode='OBJECT')
print("Before:", obj.mode)
bpy.ops.object.mode_set(mode='EDIT')
print("During:", obj.mode)
bpy.ops.object.mode_set(mode='OBJECT')
print("After:", obj.mode)The mode property reports values such as OBJECT and EDIT. The bpy.ops.object.mode_set operator changes the mode. For scripts that edit mesh data while Edit Mode is active, use Blender’s bmesh API rather than assuming that ordinary object data is immediately synchronized.
Exercise
You select a mesh object, press Tab, and see vertex and edge controls. Which mode are you in, and what does a move operation change?
Show answer
You are in Edit Mode. A move changes the selected mesh components inside the object, not the object's location.