Sub topic 6
The Navigation Gizmo: Mouse-Only Navigation and Axis Snapping
This chapter assumes you have read the earlier chapters on orbit, pan, and zoom, and that you know what the standard axis-aligned views are. You should be able to open a 3D viewport in Blender 2.8 or later with the default keymap. Everything here works with the mouse alone. You don't need a middle button or a numpad.
What the gizmo is
The navigation gizmo is the cluster of icons in the top-right corner of the 3D viewport. It gives you on-screen controls for the same actions you already know: orbit, pan, zoom, snapping to an axis view, and switching projection or camera view.
It matters in three situations:
- Your input device has no middle button, and you haven't set up Emulate 3 Button Mouse.
- You use a pen tablet or a touch screen.
- You want to reach a standard view without remembering which numpad key it is.
Experienced users often hide it and rely on shortcuts. Knowing what each part does lets you choose either approach.
The parts of the gizmo
The gizmo has two groups of controls.
The axis ball is the large part. It shows the three world axes as colored circles:
- X is red.
- Y is green.
- Z is blue.
The three solid, labeled circles point toward the positive end of each axis. The three dimmer circles without letters point toward the negative end. The ball rotates as you orbit, so it always shows how the world is oriented relative to your view.
The navigation controls sit below the ball:
- The hand pans the view.
- The magnifier zooms the view.
- The camera toggles camera view.
- The grid toggles between perspective and orthographic projection.
The hand and magnifier work by dragging. The camera and grid work by clicking. Which control is which is easy to learn by hovering, because Blender shows a tooltip for each.
Orbiting with the ball
Click and drag anywhere on the ball, away from a circle, to orbit the view. Dragging left or right rotates around the vertical axis. Dragging up or down tilts the view. The rotation uses the same pivot as normal orbiting, so the Orbit Around Selection preference affects it as well.
The ball is a good way to learn how the world is oriented. Because it's drawn from your current view, you can read it at a glance. If the green Y circle points away from you, you're looking along the positive Y direction.
Snapping to an axis view
Click one of the axis circles and the view rotates to look along that axis. The result matches the numpad shortcuts:
| Circle you click | View you get | Equivalent shortcut |
|---|---|---|
| Positive Z (blue, labeled) | Top, looking down | Numpad 7 |
| Negative Z (blue, dim) | Bottom | Ctrl+Numpad 7 |
| Negative Y (green, dim) | Front | Numpad 1 |
| Positive Y (green, labeled) | Back | Ctrl+Numpad 1 |
| Positive X (red, labeled) | Right | Numpad 3 |
| Negative X (red, dim) | Left | Ctrl+Numpad 3 |
The Y rows can look backward at first. To see the front of a default object, you look along the positive Y direction, from the negative Y side. So the Front view is where the negative Y circle is facing you. When you click a circle, you move to the side of the scene where that circle is pointing. Check the viewport label if you aren't sure which view you're in.
The view label in the top-left corner of the viewport confirms the result. It reads something like "Top Orthographic" or "Front Orthographic". Get into the habit of reading it. It tells you both the view direction and the projection.
Smooth transitions and Auto Perspective
Two preferences change how snapping behaves:
- Smooth View animates the rotation. The default is a short animation of about 200 ms. If you set it to 0, the view jumps instantly.
- Auto Perspective switches the view to orthographic when you snap to an axis. It switches back to perspective when you orbit away. This option is on by default.
Both live in the Preferences window, under Navigation and Interface or Viewport (the exact panel varies a little between versions).
Auto Perspective explains a common surprise. You snap to Front, the view becomes orthographic, then you nudge the ball to tilt it, and the perspective returns. The projection didn't change randomly. Auto Perspective restored it when you left the axis-aligned view.
Panning and zooming with the icons
To pan, press and drag the hand icon. The view slides in the direction you drag, in the plane of the screen. To zoom, press and drag the magnifier icon. Moving in one direction zooms in and the opposite direction zooms out.
These controls behave like the Shift+middle-mouse and Ctrl+middle-mouse actions. They have the same limits too. Zooming moves the view toward the orbit pivot, and it stops when you reach the pivot. If the view stalls, refer to the framing and clipping chapters for ways to recover.
Toggling projection and camera view
The grid icon switches between perspective and orthographic. It does the same job as Numpad 5. The icon changes appearance to show which mode you are in.
The camera icon toggles camera view, like Numpad 0. If the scene has no active camera, nothing useful happens. Add a camera and make it active first.
Placing, showing, and hiding the gizmo
The gizmo doesn't always sit in the same place.
- Opening the sidebar (N) moves the gizmo left, so it stays visible beside the panel.
- Region overlap is on by default, so the gizmo draws over the viewport.
- Show Gizmo in the viewport header has a dropdown with a Navigate checkbox. Unchecking it hides the entire cluster.
The Preferences window has related options under Viewport, Display, and Mini Axes:
- The Type can be Gizmo, Minimal, or None.
- The Size and Brightness settings change how the axes look.
- Turning off navigation controls leaves the axes but removes the hand, magnifier, camera, and grid icons.
Pick the type that suits your workflow. A common setup for keyboard-heavy users is Minimal. That keeps an axis indicator in the corner, with no clickable controls to hit by accident.
Controlling the gizmo from Python
The gizmo's visibility is a property of the viewport space. You can set it from a script, which helps when you want a repeatable setup, such as clean screenshots:
import bpy
# Hide the navigation gizmo in every 3D viewport of the current screen.
for area in bpy.context.screen.areas:
if area.type == 'VIEW_3D':
space = area.spaces.active
space.show_gizmo_navigate = False
print(area.type, "navigate gizmo:", space.show_gizmo_navigate)Set the property back to True to show it again. The master switch is show_gizmo. If it is off, the navigation gizmo is hidden along with the other gizmos, even when show_gizmo_navigate is True.
Choosing between the gizmo and shortcuts
| Situation | Better choice |
|---|---|
| No numpad and no middle button | Gizmo |
| Using a pen tablet or touch screen | Gizmo |
| Learning which axis is which | Gizmo |
| Fast, repeated switching between views | Numpad or View menu shortcuts |
| Clean viewport for screenshots or recordings | Hide the gizmo |
The gizmo is slower than a keystroke because it needs pointer travel and aiming. It is hard to beat when you are learning, or when the keyboard is out of reach.
Common problems
- Clicking a circle does nothing visible. You may already be in that view. Check the label in the top-left corner.
- The view orbits when you meant to click. A small mouse movement during the click is read as a drag. Click without moving.
- The projection changes unexpectedly. Auto Perspective is switching it. Turn that option off if you want a fixed projection.
- The wrong side appears. Remember that the labeled circle points toward its positive axis, and the dim circle toward the negative one. Match the circle to the table above.
Exercise
You click the dim, unlabeled green circle on the navigation gizmo. Which standard view do you get, and what projection will the viewport use by default?
Show answer
You get the Front view, looking along the positive Y direction from the negative Y side. With Auto Perspective on (the default), the projection switches to orthographic, and the label in the top-left reads "Front Orthographic".
Exercise
A colleague's gizmo shows only the colored axis ball, with no hand, magnifier, camera, or grid icons. Name one setting that could cause this, and give the Python property that controls whether the whole gizmo is shown.
Show answer
The navigation controls are likely turned off under Preferences > Viewport > Display > Mini Axes, or the Mini Axes type is set to Minimal. The property that shows or hides the gizmo is showgizmonavigate on the 3D viewport space (area.spaces.active).