Portal walkthrough · Appendices
Controls
Spoilers. This page shows everything in it, puzzle solutions included, and sometimes points ahead to later chambers.
Default PC controls and the developer console. The portal rules behind them are in How the game works, and menu options are in Settings.
Default keyboard and mouse
| Action | Default binding |
|---|---|
| Move forward / back / strafe | W / S / A / D† |
| Fire blue portal | Left Mouse Button† |
| Fire orange portal | Right Mouse Button† |
| Use / pick up / drop object | E† |
| Jump | Space† |
| Crouch | Ctrl† |
| Look | Mouse† |
| Main menu | Esc† |
| Pause game | Pause† |
| Take screenshot | F5† |
| Quick save | F6† |
| Quick load | F9† |
Developer console
Turn it on at Options, then Keyboard, then Advanced, then Enable developer console. Open it with ~.
| Command | What it does |
|---|---|
sv_cheats 1 |
Enables cheats. It disables achievement unlocks and challenge-medal submission for the session, so earn challenge medals legitimately.† |
cl_showpos 1 |
On-screen position and velocity readout, used by speedrunners.† |
cl_drawhud 0/1 |
Toggles the HUD.† |
sv_portal_placement_never_fail 1 |
Forces portal placements to succeed.† |
portals_resizeall <w> <h> |
Resizes all portals.† |
sv_gravity <value> |
Adjusts gravity (default 600).† |
host_timescale <value> |
Speeds up or slows down game time.† |
fov_desired <value> |
Field of view beyond the menu slider. The slider covers 75 to 110, and fov_desired goes up to 120.† |
fov / cl_fov <value> |
Field of view. The sources checked do not confirm whether these need sv_cheats.† |
sensitivity <value> |
Mouse sensitivity.† |
Controller
A controller is supported. Full controller support has been native since the 2022 update, and StrategyWiki’s Controls page has Xbox 360, PlayStation 3 and Nintendo Switch columns. The exact button mapping is not recorded here.
Technique notes
Mouse sensitivity. It matters for portal-aiming precision. The speedrun Glitchless category caps sensitivity at 10.0. Tune it for accurate edge placements, which matter for Camera Shy (Missables).†
Fling. Falling into a floor portal and exiting a wall portal converts fall speed to horizontal velocity. The full mechanic is in How the game works.
Crosshair colour. The crosshair changes colour over a valid portal surface. Learn to read it for fast orientation and edge placements.
† Only one source reports this.
† Sources rate this as medium confidence: likely right, not fully confirmed.