Sub topic 2
What an Interaction Mode Is
The working model
Prerequisites: you should know how to select an object and navigate the 3D Viewport. You should also know that a mesh contains vertices, edges, and faces.
An interaction mode is Blender’s current editing context. It tells Blender what your mouse, keyboard shortcuts, and tools should act on. The same shortcut can produce a different result in different modes because Blender is applying the action to a different kind of data.
For example, in Object Mode, selecting a cube selects the cube as one object. Moving it changes the object’s location. In Edit Mode, selecting part of the cube selects mesh elements such as vertices or faces. Moving them changes the mesh geometry.
An object is a scene item with properties such as location, rotation, and scale. Its data is the content attached to it. For a mesh object, the data contains the mesh’s vertices, edges, and faces. Interaction modes help determine whether you are working with the object or its data.
Modes provide context
Blender has several interaction modes. The available modes depend on the active object type. Common examples include:
| Mode | Main target | Typical work |
|---|---|---|
| Object Mode | Whole objects | Select, move, duplicate, and organize objects |
| Edit Mode | Object data | Change mesh topology and geometry |
| Sculpt Mode | Sculptable geometry | Shape surfaces with brushes |
| Pose Mode | Armature bones | Pose and animate a character rig |
The active object is the object Blender treats as the main selection. Its type affects which modes are available. A mesh can enter Edit Mode, while a camera cannot enter mesh Edit Mode.
A mode also affects which tools appear in the interface. Blender may change the Toolbar, menus, Properties panels, and available shortcuts. This context prevents every tool from appearing at once, but it also explains why a command may seem to be missing.
Interaction modes are different from workspaces. A mode controls what you are editing. A workspace controls the arrangement of editors, such as the 3D Viewport, Outliner, and Properties editor. A workspace may start with a preferred mode, but changing the workspace does not replace the basic idea of the current mode.
Reading and changing the current mode
The mode selector appears in the upper-left area of the 3D Viewport. You can also press Tab to switch between Object Mode and Edit Mode when the active object supports both modes.
Python exposes the current mode through the active object and the current context. The following script prints both values and switches a mesh into Edit Mode and back:
import bpy
obj = bpy.context.active_object
if obj is None:
print("No active object.")
elif obj.type != "MESH":
print(f"{obj.name} is not a mesh.")
else:
print("Before:", bpy.context.mode, obj.mode)
if obj.mode != "EDIT":
bpy.ops.object.mode_set(mode="EDIT")
print("After entering Edit Mode:", bpy.context.mode, obj.mode)
bpy.ops.object.mode_set(mode="OBJECT")
print("After returning to Object Mode:", bpy.context.mode, obj.mode)bpy.context.mode describes the broader Blender context, such as OBJECT or EDIT_MESH. obj.mode describes the active object’s mode, such as OBJECT or EDIT. Operators can depend on both the active object and the current mode, so scripts should check their context before changing anything.
A reliable way to reason about actions
Before performing an operation, ask:
- What is active?
- Which mode is active?
- Am I changing the whole object or its underlying data?
- Does the selected tool require a particular mode?
This habit prevents common mistakes, such as moving an object when you intended to move one vertex, or trying to use a mesh-editing command while no mesh is active.
Exercise
You select a cube and move it in Object Mode. Which part changes: the object transform or the mesh vertices?
Show answer
The object transform changes. The mesh vertices keep their positions relative to the object.