Sub topic 14
Fly and walk navigation
Orbit, pan, and zoom move the view around a point you are inspecting. Fly and walk navigation work differently. You steer a viewpoint through the scene with the keyboard and mouse, as in a first-person game. They are most useful for large scenes such as architecture, interiors, and environments, where orbiting would keep you outside the space you want to inspect.
This chapter assumes you can already orbit, pan, and zoom, switch between perspective and orthographic projection, and open the Preferences window. It also assumes a default keymap (Blender 2.8 or later).
When to use fly or walk
Orbit, pan, and zoom suit inspecting a single object. Fly and walk suit moving through a space. Both modes change the viewport's position and rotation continuously while a modal operator runs. A modal operator keeps control of the mouse and keyboard until you confirm or cancel it.
| Mode | Movement model | Gravity | Best for |
|---|---|---|---|
| Walk | Ground-based, like a person | Optional | Interiors, streets, level checks at eye height |
| Fly | Free movement, like a drone | None | Large scenes, aerial checks, quick repositioning |
Both modes work in perspective view. The sections below assume you are in perspective.
Starting and ending a session
Open the View menu, then Navigation, and choose Walk Navigation or Fly Navigation. That menu starts a specific mode. The shortcut Shift+` (the accent grave key, usually left of 1) starts whichever mode your Preferences select as the default. In recent versions, the shortcut runs view3d.navigate, which reads that setting. The setting is in Edit > Preferences > Navigation, in the Fly & Walk panel.
While a session runs, the viewport shows a short hint about the controls in its header or status area. To end the session:
- Left click or Enter confirms. The view stays where you left it.
- Right click or Esc cancels. The view snaps back to where it was when you started.
Cancelling is a useful safety net. If you fly off into empty space, press Esc and you are back where you began.
Walk navigation
Walk mode treats the view as a person standing in the scene.
Move with the keyboard and look with the mouse:
- W, A, S, D move forward, left, backward, and right.
- Q and E move the view along the vertical axis. If you press the wrong one, the other reverses it.
- Moving the mouse turns the view left, right, up, and down. The mouse does not need a button held.
- Shift speeds you up and Alt slows you down while held.
- The mouse wheel changes the base walking speed.
Walk mode has features that fly mode lacks:
- Tab toggles gravity. With gravity on, you fall until you meet geometry below you and then stay at a set height above it. This keeps your eye level steady as you walk over floors and stairs.
- V makes you jump when gravity is on.
- Space teleports. Blender finds the surface under the cursor and moves you there over a short transition. This is the fastest way to cross a large room.
Gravity needs something to stand on. If there is no geometry below the view, you keep falling. If that happens, press Tab to turn gravity off, or press Esc to cancel the session.
Fly navigation
Fly mode treats the view as a vehicle that keeps moving once you set it going.
- Moving the mouse steers. The further the cursor is from the center of the view, the faster the view turns. The center region is a dead zone where the view does not turn, so keep the cursor there to fly straight.
- W and S accelerate and decelerate in steps. Tapping W repeatedly increases forward speed. Tapping S slows you down and, past zero, reverses you.
- A and D slide sideways.
- The mouse wheel also changes speed.
Because fly mode keeps moving, it suits long trips, but it is harder to stop precisely. If you overshoot, tap S to brake or press Esc to cancel.
Tuning speed and sensitivity
Open Edit > Preferences > Navigation and find the Fly & Walk panel. The panel has these kinds of settings:
- Mouse Sensitivity: how far the view turns for a given mouse movement.
- Reverse Mouse: inverts the vertical look direction.
- Walk Speed and Speed Factor: the base speed and the multiplier applied when you hold Shift.
- Gravity options (walk only): the view height above the ground and the jump height.
- Teleport Time: how long the Space transition takes.
The right scale of movement depends on the scene. The default speed suits a scene sized in meters at human scale. In a scene scaled to millimeters or kilometers, the default speed feels far too slow or fast. Adjust the speed with the wheel during a session rather than changing the preference each time.
Choosing between the navigation methods
The diagram summarizes how to pick a method.
If a fly or walk session leaves you lost, use View All (Home) or View Selected (Numpad Period) to reframe, as described in the framing chapter. If objects disappear while you fly through large scenes, the clipping distances may be the cause. The View tab in the sidebar holds the Clip Start and Clip End values.
Common problems
- Nothing happens after the shortcut. Check that the mouse is over a 3D viewport. Shortcuts act on the area under the cursor.
- The view jumps when you start. The cursor's position relative to the view center can affect the first turn in fly mode. Start with the cursor near the center.
- The mouse feels inverted. Turn on Reverse Mouse in Preferences.
- You fall forever in walk mode. Gravity found no geometry below you. Toggle gravity off with Tab.
- Moves are too slow or too fast. Change speed with the mouse wheel during the session.
Controlling walk settings from Python
You can read and change the same preferences from a script. The following script prints the current walk settings and raises the walking speed.
import bpy
walk = bpy.context.preferences.inputs.walk_navigation
print("Walk speed:", walk.walk_speed)
print("Speed factor:", walk.walk_speed_factor)
print("View height:", walk.view_height)
print("Jump height:", walk.jump_height)
print("Teleport time:", walk.teleport_time)
print("Gravity:", walk.use_gravity)
# Double the base walking speed for this session.
walk.walk_speed = walk.walk_speed * 2Preference changes made this way last until you quit Blender, unless you save preferences or have auto-save preferences enabled.
You can also start a session from a script. The operator needs a 3D viewport as context, so use the same override pattern as in the scripting chapter.
import bpy
for area in bpy.context.screen.areas:
if area.type == 'VIEW_3D':
region = next(r for r in area.regions if r.type == 'WINDOW')
with bpy.context.temp_override(area=area, region=region):
bpy.ops.view3d.walk('INVOKE_DEFAULT')
breaktemp_override requires Blender 3.2 or later. The 'INVOKE_DEFAULT' argument matters because walk is a modal operator. Run without it, the operator does not start an interactive session.
Summary of the key controls
| Action | Walk | Fly |
|---|---|---|
| Steer | Mouse | Mouse (distance from center) |
| Forward and back | W and S | W and S (accelerate and brake) |
| Left and right | A and D | A and D |
| Change speed | Mouse wheel | Mouse wheel |
| Gravity toggle | Tab | Not available |
| Jump | V | Not available |
| Teleport | Space | Not available |
| Confirm | Left click or Enter | Left click or Enter |
| Cancel | Right click or Esc | Right click or Esc |
Exercise
You start a walk session in a large interior scene and keep falling without ever landing. Give two ways to fix it, and name one way to return to where you started.
Show answer
Press Tab to turn gravity off, or make sure there is visible mesh geometry below you for gravity to land on (unhide the floor object). To return to where you started, press Esc or right click, which cancels the session and restores the previous view.
Exercise
In a scene built at a scale of 500 meters across, walk mode feels very slow. What can you change during the session, and what can you change in Preferences?
Show answer
During the session, scroll the mouse wheel to raise the walking speed. In Preferences, under Navigation in the Fly & Walk panel, raise the walk speed value (and the speed factor used with Shift). From Python, set bpy.context.preferences.inputs.walknavigation.walkspeed.
Exercise
Why does the Python call that starts walk navigation need 'INVOKE_DEFAULT' and a viewport override?
Show answer
Walk is a modal operator that must be invoked to start its event loop, and 'INVOKEDEFAULT' does that. It also needs a 3D viewport area and window region as context, which tempoverride provides, because a script run from the Text Editor has the text editor as its context.