Sub topic 6
Vertex, edge, and face select modes
This chapter assumes you can enter Edit Mode with Tab on a mesh object and use Move, Rotate, and Scale. It also assumes you know what vertices, edges, and faces are. The chapter covers what the three select modes change, how switching between them rewrites your selection, and which mistakes cause surprising results.
What a select mode controls
In Edit Mode, a mesh has three kinds of elements: vertices (points), edges (lines between two vertices), and faces (surfaces bounded by edges). The select mode decides which kind of element your clicks, box selections, and selection tools pick.
A select mode does not change the mesh. It changes what you can pick and how the viewport draws the mesh. Underneath, Blender stores the selection as flags on vertices, edges, and faces, and the mode determines how those flags are set and cleaned up.
| Mode | Key (Edit Mode) | What a click picks | Typical use |
|---|---|---|---|
| Vertex | 1 | A single point | Fine adjustments, merging, moving corners |
| Edge | 2 | A single edge, with its two vertices | Loops, bevels, marking seams and creases |
| Face | 3 | A whole face | Extruding, insetting, deleting surfaces |
The keys 1, 2, and 3 are the ones on the main keyboard row, not the numpad. In Object Mode those same keys have other jobs, such as showing or hiding collections. You can also click the three buttons in the 3D Viewport header, or press Ctrl+Tab to open the select mode pie menu.
Switching modes and what happens to your selection
When you change select mode, Blender converts your current selection. The rule depends on the direction.
- Vertex to edge, or edge to face (going "up"): only complete elements survive. An edge stays selected only if both of its vertices are selected. A face stays selected only if all of its edges and vertices are selected. Partial selections disappear.
- Face to edge, or edge to vertex (going "down"): the selection expands to the parts of what was selected. Selecting a face and switching to vertex mode leaves that face's corner vertices selected.
You can run this rule as an experiment. Select two neighboring vertices on a cube and switch to edge mode. The edge between them stays selected. Select two vertices that are diagonal on one face and switch to edge mode. The selection is empty, because no edge has both of its endpoints selected.
This conversion explains a common complaint: "I switched modes and my selection vanished." The selection was only partial in the new mode's terms, so Blender discarded it.
Enabling more than one mode
Shift+click a header button to turn on a second mode without turning off the first. With vertex and edge modes both on, for example, you can pick individual points and whole edges in the same session. Blender then saves a selection that mixes the types.
Mixed modes help when you want to switch quickly between precision and speed. They also make it harder to reason about what a tool will operate on, so most people use a single mode and change it deliberately.
Visibility and X-ray
By default, selection in Solid shading respects occlusion. A box select only picks elements you can see from the current view, so the back of a cube stays unselected when you drag over the front.
Toggle X-ray with Alt+Z to select through the mesh. This is the most common reason that "box select missed half my vertices" or the opposite, "box select grabbed vertices I couldn't see." Check the X-ray toggle in the header before you blame the tool.
Click selection, by contrast, always picks the nearest visible element.
Selection tools that depend on the mode
Several selection shortcuts behave differently depending on the select mode.
- Alt+click selects a loop. In vertex or edge mode it picks an edge loop, a chain of edges that runs through the mesh. In face mode it picks a face loop, a ring of faces.
- Ctrl+click selects the shortest path from the active element to the one you click. The path follows edges in vertex and edge modes, and crosses faces in face mode.
- Select Linked (L under the cursor, or Ctrl+L for all linked) expands the selection to connected geometry. It can be delimited by seams, sharp edges, or materials in the tool's options.
- Select More/Less (Ctrl+NumpadPlus and Ctrl+NumpadMinus) grows or shrinks the selection by one step, measured in the current element type.
To see what the selection holds, turn on Statistics in the Overlays popover. The viewport then shows counts such as Verts 4/8, which means 4 of 8 vertices are selected. The count updates as you switch modes, so it is a quick way to confirm the conversion rules above.
Why the mode changes tool results
Many tools read the selection flags, so the same visible selection can produce different results in different modes.
Consider extruding (E). In vertex mode, extruding a single vertex creates a loose vertex connected to the original by an edge. In edge mode, extruding an edge creates a new edge and a face between them. In face mode, extruding a face creates a new face and the side walls.
The delete menu (X) also depends on the mode. It offers Vertices, Edges, Faces, Only Edges & Faces, and Only Faces. Choosing Vertices removes the vertices and every edge and face that used them. Choosing Only Faces removes the faces but keeps their edges and vertices, which leaves a hole. Picking the wrong entry is a common source of broken meshes. After deleting, check the result with Statistics or by looking for gaps.
Reading and changing the mode with Python
The current select mode is stored on the scene's tool settings as three booleans, in the order vertex, edge, face. You can read it directly.
To change the mode, use the bpy.ops.mesh.select_mode operator instead of assigning the tuple. The operator also converts the existing selection the way the UI does. Assigning tool_settings.mesh_select_mode changes the setting but does not flush the selection, so the flags can end up inconsistent until the next update.
import bpy
import bmesh
obj = bpy.context.edit_object # None unless a mesh is in Edit Mode
if obj is not None and obj.type == 'MESH':
ts = bpy.context.tool_settings
print(tuple(ts.mesh_select_mode)) # for example (True, False, False)
# Switch to face mode; selection converts like pressing 3 in the UI.
bpy.ops.mesh.select_mode(type='FACE')
print(tuple(ts.mesh_select_mode)) # (False, False, True)
# Read the result from the live BMesh, not obj.data.
bm = bmesh.from_edit_mesh(obj.data)
selected_faces = [f.index for f in bm.faces if f.select]
print("Selected faces:", selected_faces)Run the script from the Text Editor with a mesh in Edit Mode. It must run in Edit Mode because bpy.context.edit_object is None otherwise, and the guard skips the body.
Read the selection from BMesh rather than obj.data. As the earlier chapters noted, the regular mesh data is not synchronized while the mesh is in Edit Mode, so obj.data.polygons[i].select shows stale values until you leave Edit Mode.
Common errors
- The selection vanished after switching mode. The selection was incomplete in the new mode. Switch back and look at the Statistics counts.
- A tool seems to ignore half the selection. You may be in X-ray off mode with box select, or hidden geometry (H) may exclude elements. Press Alt+H to reveal hidden geometry.
- Clicking a face does nothing in wireframe. In wireframe or X-ray display you must click the face dot.
- Two modes are on and tool results look odd. Shift+click turns on additional modes. Click one header button without Shift to return to a single mode.
- A Python script reports the wrong selection. Check that you read from
bmesh.from_edit_meshwhile in Edit Mode.
Practice
Exercise
In a default cube in Edit Mode, you select two vertices that are opposite corners of one face and press 2 to switch to edge mode. What is selected afterward, and why?
Show answer
Nothing is selected. Switching from vertex to edge mode keeps an edge only if both of its vertices are selected. Opposite corners of a face are not joined by an edge, so no edge qualifies.
Exercise
You want to cut a rectangular hole in a flat surface while keeping the surrounding edges and vertices of the hole's border. Which select mode and delete option do you use?
Show answer
Use face mode (key 3) to select the faces inside the hole, then press X and choose Only Faces. Choosing Vertices instead would remove the faces plus every edge and face that shares those vertices, and it would enlarge the hole.
Exercise
A script calls bpy.context.tool_settings.mesh_select_mode = (False, False, True) and then reads bm.faces selection flags, but they look inconsistent with the viewport. What is the better way to change the mode, and why?
Show answer
Call bpy.ops.mesh.select_mode(type='FACE'). The operator converts the existing selection as the UI does. Assigning the tuple changes the setting without updating the selection flags.