Sub topic 11
Tuning navigation in Preferences: orbit style, orbit around selection, zoom to mouse position
This chapter assumes you can already orbit, pan, and zoom with the default keymap, and that you know the View menu and the Numpad shortcuts. The defaults suit many people, but a few settings in Preferences change how the view behaves. Learning them lets you adapt Blender to your hands and your work instead of fighting the view.
Where the settings live
Open Edit > Preferences. Navigation behavior is split across two tabs:
- Navigation holds Orbit & Pan, Zoom, Fly & Walk, and 3D Mouse settings.
- Input holds the device options from the earlier input chapter: Emulate 3 Button Mouse and Emulate Numpad.
Preferences belong to your Blender installation, not to a .blend file. A change applies to every file you open. If Auto-Save Preferences is on, it persists after you close Blender. This is the opposite of per-viewport settings such as clip start, which are saved in the file.
The labels below match recent Blender releases (2.9 through 4.x). Small details such as panel order differ between versions.
Orbit style: turntable or trackball
Orbit Style decides how mouse movement turns into rotation.
| Style | Behavior | Best for |
|---|---|---|
| Turntable (default) | Horizontal drags spin the scene around the global Z axis. Vertical drags tilt up or down. | Modeling, architecture, and anything with a clear "up" |
| Trackball | The scene turns freely as if you spun a ball. You can roll the view sideways. | Sculpting and organic objects with no natural up |
With turntable, the horizon stays level. You can never roll the view, and vertical tilt stops at straight up and straight down. This makes it hard to get disoriented.
With trackball, no direction is privileged. You can flip upside down and roll the view, which suits a sculpt you want to inspect from every side. The cost is that the view can end up tilted in a way that is awkward to undo by hand. When that happens, press a standard view key such as Numpad 1, or click an axis on the gizmo, to reset the tilt.
Orbit around selection
By default, orbiting pivots around the center of the view, which is a point in front of you at the current view distance. When you orbit and the object you care about swings out of frame, this is the cause.
Enable Orbit Around Selection (the Python name is use_rotate_around_active, covered below) to make orbiting pivot around the center of the current selection. With nothing selected, Blender falls back to the view center.
The setting helps in three cases:
- The scene is large and you inspect a small selected part.
- You select different objects in turn and want each to stay put while you look around it.
- You often press the numpad period to frame a selection. The pivot then agrees with what you framed.
It can also surprise you. If you select an object far from what you are looking at, the next orbit swings the view wildly around that distant object. That is the setting working as designed.
Zoom to mouse position and auto depth
By default, zooming moves toward and away from the center of the view. If the detail you want sits at the edge of the viewport, you zoom, it slides out of frame, and you pan to bring it back.
Zoom to Mouse Position changes the zoom target to the cursor, so the point under the cursor stays under it. This works like a map or an image editor. It removes most of the zoom-pan-zoom shuffle.
Auto Depth (nearby in the Zoom panel) works with it. In perspective views, it samples the depth of the geometry under the cursor. The zoom then travels toward the surface you point at, instead of an invisible point at the view distance. Without it, zooming into a surface far behind the view center may stop short or pass through it. Auto depth also affects orbiting when you use Orbit Around Selection or a mouse-based pivot.
Auto Depth reads the depth buffer. In dense scenes or on slow GPUs it can feel less predictable than the plain zoom. If zooming jumps unexpectedly, turn it off first.
Zoom style and direction
Zoom has several more options.
- Zoom Style applies to dragging with Ctrl+Middle Mouse, not the wheel. Dolly moves the view in proportion to the drag. Scale zooms relative to where the drag started. Continue keeps zooming as long as you hold the drag away from its start.
- Zoom Axis chooses whether the drag is vertical or horizontal.
- Invert Zoom Direction flips the wheel. Invert Mouse Zoom Direction flips the drag.
If zooming feels backward only with the drag but not the wheel, you want the drag option, not the wheel option.
Auto perspective
Auto Perspective is in the Orbit & Pan panel. With it on, Blender switches to perspective when you orbit out of a standard orthographic view, and back to orthographic when you press a standard view key. With it off, the projection stays whatever you chose, whether perspective or orthographic. People who model with orthographic views often turn it off so a small nudge does not change the projection. If your view keeps flipping between perspective and orthographic, this is the setting to check.
Input options that affect navigation
These settings are on the Input tab.
- Emulate 3 Button Mouse lets Alt plus left click stand in for the middle button. Alt+LMB orbits, Shift+Alt+LMB pans, and Ctrl+Alt+LMB zooms. On Linux, some window managers capture Alt+click for moving windows. Change the window manager's modifier key if navigation clicks do nothing.
- Emulate Numpad turns the number row (1, 2, 3, and so on) into numpad keys for view shortcuts. The cost is that the number row no longer toggles collections or selects by number in some modes.
A decision flow
Not every setting is worth changing. This flow gives a starting point.
Reading and setting preferences with Python
Every setting above is exposed on bpy.context.preferences.inputs. A script is useful for sharing a setup between machines or for documenting what you changed.
import bpy
inputs = bpy.context.preferences.inputs
print("Orbit style:", inputs.view_rotate_method) # 'TURNTABLE' or 'TRACKBALL'
print("Orbit around selection:", inputs.use_rotate_around_active)
print("Zoom to mouse:", inputs.use_zoom_to_mouse)
print("Auto depth:", inputs.use_mouse_depth_navigate)
print("Auto perspective:", inputs.use_auto_perspective)
print("Zoom style:", inputs.view_zoom_method) # 'CONTINUE', 'DOLLY', 'SCALE'
inputs.view_rotate_method = 'TURNTABLE'
inputs.use_rotate_around_active = True
inputs.use_zoom_to_mouse = TrueProperty names can change between versions. If a name raises AttributeError, run print(dir(bpy.context.preferences.inputs)) to list what your build offers. Changing these values changes your live preferences. They are saved only if Auto-Save Preferences is on, or if you save them from the Preferences window.
Common errors
- "The view orbits around empty space." Orbit Around Selection is off, or nothing is selected. Select the object, or press the numpad period to frame it first.
- "Zoom will not get closer." In perspective, the view can reach its minimum distance to the pivot. Enable Zoom to Mouse Position, or frame the object, which moves the pivot closer.
- "The horizon is tilted." You are in trackball mode, or you rolled the view in a previous session. Press Numpad 1, or click an axis on the gizmo, to reset.
- "My changes vanished after restart." Auto-Save Preferences is off and you did not save manually.
Exercise
You work on a large city scene. When you select a small lamp post and orbit, the view swings away from it and the lamp post leaves the frame. When you zoom into a window at the far edge of the viewport, the window slides out of view. Which two Preferences settings address these problems, and which Python property controls each?
Show answer
Enable Orbit Around Selection (bpy.context.preferences.inputs.use_rotate_around_active = True) so orbiting pivots around the selected lamp post. Enable Zoom to Mouse Position (bpy.context.preferences.inputs.use_zoom_to_mouse = True) so zooming moves toward the cursor, and the window stays under it. Auto Depth (use_mouse_depth_navigate) can help the zoom reach nearby surfaces.