Sub topic 2
Setting up your input: middle mouse, Emulate 3 Button Mouse, and Emulate Numpad
This chapter assumes you have Blender 2.8 or later with the default keymap, and that you know the basic layout of the interface (editors, the 3D viewport, the Preferences window). Everything here concerns hardware and Preferences. The next chapters use these inputs to orbit, pan, and zoom.
Why input setup comes first
Blender's navigation was designed around a three-button mouse and a full keyboard with a numeric keypad. The middle mouse button (MMB) drives orbit, pan, and zoom. The numpad jumps to standard views. If your hardware lacks either one, navigation feels broken until you configure a substitute.
Blender offers three substitutes:
- Emulate 3 Button Mouse replaces the middle button with Alt plus left click.
- Emulate Numpad makes the number row above the letters act as the numpad.
- The navigation gizmo and the View menu cover the same actions with the mouse alone. The gizmo has its own chapter.
The default mapping with a real middle button
With a mouse wheel that clicks, the viewport mapping is:
| Action | Mouse input |
|---|---|
| Orbit | Drag with MMB |
| Pan | Shift + drag with MMB |
| Zoom (drag) | Ctrl + drag with MMB |
| Zoom (step) | Scroll the wheel |
| Pan left and right | Ctrl + scroll |
| Pan up and down | Shift + scroll |
The wheel is both a scroll control and a button. If the view jumps or zooms when you only wanted to orbit, you probably rolled the wheel slightly while pressing. Press straight down and hold, then move the mouse.
Emulate 3 Button Mouse
If your mouse has no usable middle button, such as on a laptop trackpad, enable Emulate 3 Button Mouse.
- Open Edit > Preferences.
- Select the Input tab.
- Under Mouse, tick Emulate 3 Button Mouse.
The left mouse button with Alt held now acts as the middle button, so each middle-button action gets an Alt version:
| Action | With emulation on |
|---|---|
| Orbit | Alt + drag with LMB |
| Pan | Shift + Alt + drag with LMB |
| Zoom (drag) | Ctrl + Alt + drag with LMB |
On a trackpad, "drag with LMB" means pressing the trackpad (or tapping and holding, if tap-to-click is on) while moving a finger.
The modifier key and window-manager conflicts
Many Linux desktops reserve Alt + drag for moving windows. The window manager catches the input first, so Blender never sees it. In recent Blender versions the Preferences offer a choice of modifier when emulation is on, usually Alt or the OS key (Cmd on macOS, the Super or Windows key elsewhere). Switch to the OS key, or change the window manager's own shortcut.
On macOS, Alt is labeled Option.
Emulate Numpad
The numpad shortcuts are the fastest way to reach standard views. A compact keyboard may not have one. Emulate Numpad fixes this by treating the top number row as the numpad.
- Open Edit > Preferences > Input.
- Under Keyboard, tick Emulate Numpad.
The most useful mapped keys, written with the numpad names:
| Key | Result |
|---|---|
| 1 | Front view |
| 3 | Right side view |
| 7 | Top view |
| Ctrl + 1, 3, 7 | Back, left, bottom (the opposite views) |
| 5 | Toggle perspective and orthographic |
| 0 | Camera view |
| Period (.) | Frame the selection |
| 2, 4, 6, 8 | Orbit in steps |
| Plus and minus | Zoom in and out |
Those top-row keys already do other work in the default keymap. In Object Mode they show and hide collections. In Edit Mode, 1, 2, and 3 switch between vertex, edge, and face selection. With Emulate Numpad on, the number row no longer does those jobs.
If you only need an occasional view, you can skip the emulation and use the View > Viewpoint menu or the gizmo, and keep the number row as it is.
Choosing a setup
The right combination depends on your hardware.
A few typical combinations:
- Desktop with a standard mouse and full keyboard: change nothing.
- Laptop with a trackpad and no numpad: enable both options, or enable Emulate 3 Button Mouse and navigate views with the gizmo.
- Mouse plus compact keyboard: enable Emulate Numpad only.
Setting the options from Python
The same two options are stored in the user preferences and can be read or set from the Python console. This is useful for setting up a fresh install or a shared workstation.
import bpy
inputs = bpy.context.preferences.inputs
print("Emulate 3 Button Mouse:", inputs.use_mouse_emulate_3_button)
print("Emulate Numpad:", inputs.use_emulate_numpad)
inputs.use_mouse_emulate_3_button = True
inputs.use_emulate_numpad = TrueSetting a value this way changes the running session. Whether it persists depends on the Auto-Save Preferences option in the Preferences. If that option is off, save with Save Preferences or run the script at each start.
Common problems
- Alt + drag moves the whole Blender window (Linux). The window manager is intercepting the input. Switch the emulation modifier to the OS key, or change the window manager's shortcut.
- Orbit works but the view also zooms. The wheel was rolled while clicking. Press it without scrolling, or use the emulation option.
- Numpad keys switch views but number-row keys do not. Emulate Numpad is off, which is the correct default. Turn it on only if you want the number row to act as a numpad.
- Number-row keys stopped selecting vertices, edges, or faces. Emulate Numpad is on. Use the header buttons in Edit Mode, or turn the option off.
- Numpad keys do nothing at all. Check that Num Lock is on. With it off, the numpad sends navigation keys such as Home, End, and the arrows instead of numbers.
- Navigation only works in some areas of the screen. The pointer must be over the 3D viewport.
Quick check of your setup
To confirm that your configuration works, hover over the 3D viewport and try each action once:
- Orbit with your chosen input, and check that the view rotates around the scene.
- Pan with Shift added, and check that the view slides sideways.
- Zoom with Ctrl added, or the wheel, and check that the view moves in and out.
- Press the key for top view (numpad 7, or 7 with Emulate Numpad on) and check that the view looks straight down.
If all four work, the following chapters apply directly. If any step fails, use the list above before changing anything else.
Exercise
You use a laptop with a trackpad and no numpad. After enabling Emulate 3 Button Mouse and Emulate Numpad, how do you (a) pan the view and (b) switch to top view? Name one other shortcut that stops working as a side effect.
Show answer
(a) Hold Shift + Alt and drag with the left button (the left button stands in for the middle button, and Shift adds panning). (b) Press 7 on the number row, which now acts as numpad 7. Side effect: in Edit Mode, 1, 2, and 3 no longer switch between vertex, edge, and face selection. In Object Mode the number keys no longer show and hide collections.
Exercise
You are on Linux with Emulate 3 Button Mouse enabled, but Alt + drag moves the Blender window instead of orbiting. Give two ways to fix it.
Show answer
Change the emulation modifier in Preferences > Input from Alt to the OS key (Super). Or change the window manager's own Alt + drag shortcut so it no longer grabs the input before Blender sees it.