Shortcuts and Undo
Every shortcut below is the shipped default. You can change any of them under Settings > Controls > Shortcuts: click a shortcut, then press the new key (with Ctrl, Shift or Alt if you like). Esc cancels. Reset All to Defaults, at the bottom of the list, puts them all back.
Only the shortcuts you change are saved, so you keep getting new defaults as the editor improves.
Press Ctrl+P to open the command palette: it lists every action with its current shortcut, and you can run any of them from there.
Undo and Redo do not fire while you are typing in a text box, so Ctrl+Z there undoes your typing.
File
| Action | Shortcut |
|---|---|
| New Scene | Ctrl+N |
| Open Scene | Ctrl+O |
| Save | Ctrl+S |
| Save As | Ctrl+Shift+S |
| Settings | Ctrl+, |
| Command palette | Ctrl+P |
Edit
| Action | Shortcut |
|---|---|
| Undo | Ctrl+Z |
| Redo | Ctrl+Y |
| Copy | Ctrl+C |
| Paste (onto the surface under the cursor) | Ctrl+V |
Play
| Action | Shortcut |
|---|---|
| Play / Stop | F5 |
| Stop playing or simulating | Esc |
Tools
| Action | Shortcut |
|---|---|
| Select | Q |
| Move | W |
| Rotate | E |
| Scale | R |
| Grab (move with the mouse) | G |
| Rotate with the mouse | R |
| Scale with the mouse | S |
While grabbing, rotating or scaling with the mouse: X, Y or Z locks to an axis, Shift with one of them locks to a plane, typed numbers give an exact amount, Enter or a click confirms and Esc or a right-click cancels. See The Viewport.
Selection
| Action | Shortcut |
|---|---|
| Delete | Delete |
| Duplicate | Ctrl+D |
| Duplicate and move | Alt+D |
| Deselect | Esc |
| Select all | Ctrl+A |
| Rename | F2 |
| Hide / show the selection | H |
| Isolate (hide everything else) | Shift+H |
| Move the selection to the cursor | V |
| Drop to the surface below | Page Down |
Camera
| Action | Shortcut |
|---|---|
| Look around | Right-click drag |
| Fly | Hold right-click, then W A S D |
| Fly up / down | Hold right-click, then E / Q |
| Pan | Shift + right-click drag |
| Orbit | Middle-click drag, or Alt + left-click drag |
| Zoom | Scroll wheel |
| Slow, careful movement | Hold Ctrl |
| Frame the selection | F |
| Frame everything | A |
| Reset the camera | Home |
| Focus on what is under the cursor | End |
| Faster / slower | ] / [ |
| Lock the orbit point | L |
View
| Action | Shortcut |
|---|---|
| Front / Back | Numpad 1 / Ctrl+Numpad 1 |
| Right / Left | Numpad 3 / Ctrl+Numpad 3 |
| Top / Bottom | Numpad 7 / Ctrl+Numpad 7 |
| Perspective / orthographic | Numpad 5 |
| Bottom panel | Ctrl+Space |
| Wireframe | Alt+Z |
| Lighting | Alt+Shift+Z |
| Grid | Ctrl+G |
| Snapping on / off | T |
| Edge snap | Shift+T |
| Scale from the bottom | Alt+T |
| Reset UI scale to 100% | Ctrl+0 |
In the Hierarchy
| Action | Shortcut |
|---|---|
| Previous / next row | Up / Down |
| Open / close a branch, step in / out | Right / Left |
| Add or remove a row from the selection | Ctrl + click |
| Select a range | Shift + click |
In the Code Editor
These keys are fixed: they cannot be changed in Settings yet.
| Action | Shortcut |
|---|---|
| Save | Ctrl+S |
| Undo | Ctrl+Z |
| Redo | Ctrl+Y or Ctrl+Shift+Z |
| Select all | Ctrl+A |
| Cut / copy / paste | Ctrl+X / Ctrl+C / Ctrl+V |
| Comment or uncomment lines | Ctrl+/ |
| Delete line | Ctrl+Shift+K |
| Move line up / down | Alt+Up / Alt+Down |
| Duplicate line up / down | Alt+Shift+Up / Alt+Shift+Down |
| Bigger / smaller / reset text | Ctrl+= / Ctrl+- / Ctrl+0 |
The Shortcuts page also lists a Code Editor group. The code editor does not read those bindings yet; the table above is what it uses.
Undo and the History panel
Almost everything you do in the editor can be undone: moving, adding, deleting and renaming objects, changing a value in the Inspector, adding or removing a component, parenting in the Hierarchy, and more.
| To | Do |
|---|---|
| Undo | Ctrl+Z, or the curved arrow in the viewport toolbar |
| Redo | Ctrl+Y, or the arrow beside it |
Each open document keeps its own undo history. With a material or particle effect open, undo steps back through that file's edits; with the viewport focused, it steps back through the scene's. The two never get mixed up.
The History panel
The History panel lists your steps: the Undo Stack (what you have done), the Current State, and the Redo Stack (what you have undone). Click any row to jump straight to that point. Add the panel with the + on any tab bar (see Workspaces).