Hazel

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

ActionShortcut
New SceneCtrl+N
Open SceneCtrl+O
SaveCtrl+S
Save AsCtrl+Shift+S
SettingsCtrl+,
Command paletteCtrl+P

Edit

ActionShortcut
UndoCtrl+Z
RedoCtrl+Y
CopyCtrl+C
Paste (onto the surface under the cursor)Ctrl+V

Play

ActionShortcut
Play / StopF5
Stop playing or simulatingEsc

Tools

ActionShortcut
SelectQ
MoveW
RotateE
ScaleR
Grab (move with the mouse)G
Rotate with the mouseR
Scale with the mouseS

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

ActionShortcut
DeleteDelete
DuplicateCtrl+D
Duplicate and moveAlt+D
DeselectEsc
Select allCtrl+A
RenameF2
Hide / show the selectionH
Isolate (hide everything else)Shift+H
Move the selection to the cursorV
Drop to the surface belowPage Down

Camera

ActionShortcut
Look aroundRight-click drag
FlyHold right-click, then W A S D
Fly up / downHold right-click, then E / Q
PanShift + right-click drag
OrbitMiddle-click drag, or Alt + left-click drag
ZoomScroll wheel
Slow, careful movementHold Ctrl
Frame the selectionF
Frame everythingA
Reset the cameraHome
Focus on what is under the cursorEnd
Faster / slower] / [
Lock the orbit pointL

View

ActionShortcut
Front / BackNumpad 1 / Ctrl+Numpad 1
Right / LeftNumpad 3 / Ctrl+Numpad 3
Top / BottomNumpad 7 / Ctrl+Numpad 7
Perspective / orthographicNumpad 5
Bottom panelCtrl+Space
WireframeAlt+Z
LightingAlt+Shift+Z
GridCtrl+G
Snapping on / offT
Edge snapShift+T
Scale from the bottomAlt+T
Reset UI scale to 100%Ctrl+0

In the Hierarchy

ActionShortcut
Previous / next rowUp / Down
Open / close a branch, step in / outRight / Left
Add or remove a row from the selectionCtrl + click
Select a rangeShift + click

In the Code Editor

These keys are fixed: they cannot be changed in Settings yet.

ActionShortcut
SaveCtrl+S
UndoCtrl+Z
RedoCtrl+Y or Ctrl+Shift+Z
Select allCtrl+A
Cut / copy / pasteCtrl+X / Ctrl+C / Ctrl+V
Comment or uncomment linesCtrl+/
Delete lineCtrl+Shift+K
Move line up / downAlt+Up / Alt+Down
Duplicate line up / downAlt+Shift+Up / Alt+Shift+Down
Bigger / smaller / reset textCtrl+= / 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.

ToDo
UndoCtrl+Z, or the curved arrow in the viewport toolbar
RedoCtrl+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).