🎮 UNITY SHORTCUTS
Essential keyboard shortcuts for the Unity Editor — Windows & Mac.
NO SHORTCUTS MATCH YOUR SEARCH.
🖥️VIEWPORT NAVIGATION
| ACTION | SHORTCUT |
|---|---|
| Orbit / Rotate viewHold and drag to look around the scene | Alt+Left Mouse |
| Pan viewSlide the view without rotating | Alt+Middle Mouse |
| Zoom in / outScroll wheel or hold Alt + right drag | Scroll Wheel |
| Frame selected objectSnaps view to whatever is selected in Hierarchy | F |
| Frame all objectsZooms out to see everything in the scene | ShiftShift+A |
| Fly / Flythrough modeHold right-click then use WASD to fly around | Right Mouse+W A S D |
↔️TRANSFORM TOOLS
| ACTION | SHORTCUT |
|---|---|
| Hand tool (pan scene)No object manipulation — drag to move camera | Q |
| Move toolDrag arrows to reposition a GameObject on X/Y/Z | W |
| Rotate toolDrag handles to rotate around any axis | E |
| Scale toolResize the object on X/Y/Z or uniformly | R |
| Rect tool (UI / 2D)Used for resizing UI elements and 2D sprites | T |
| Transform tool (all combined)Move, rotate, and scale in one gizmo | Y |
| Snap to grid while movingHold while dragging with the Move tool | CtrlCmd+Drag |
| Vertex snappingHold V, then drag from a vertex to snap to another | V+Drag |
📦GAMEOBJECTS & EDITING
| ACTION | SHORTCUT |
|---|---|
| Duplicate selected objectCreates an instant copy — faster than copy/paste | CtrlCmd+D |
| Delete selected object | DeleteCmd + Delete |
| UndoStep back through your recent actions | CtrlCmd+Z |
| Redo | CtrlCmd+Y |
| Select all in Hierarchy | CtrlCmd+A |
| Rename selected objectClick in Hierarchy, then press F2 to rename | F2Enter |
| Group selected objectsWraps selected objects under a new empty parent | CtrlCmd+G |
| Focus Hierarchy search bar | CtrlCmd+F |
▶️PLAY & BUILD
| ACTION | SHORTCUT |
|---|---|
| Enter / Exit Play modeRuns your game — press again to stop | CtrlCmd+P |
| Pause Play modeFreezes the game mid-run for inspection | CtrlCmd+Shift+P |
| Step one frame (while paused)Advances exactly one frame at a time for debugging | CtrlCmd+Alt+P |
| Save sceneSave early, save often — Unity doesn't auto-save! | CtrlCmd+S |
| Save scene as new file | CtrlCmd+Shift+S |
| Open Build Settings | CtrlCmd+Shift+B |
🗺️SCENE VIEW TOOLS
| ACTION | SHORTCUT |
|---|---|
| Toggle 2D / 3D scene view | 2D button(toolbar) |
| Toggle perspective / orthographicClick the cube gizmo in the top-right of Scene view | Scene Gizmo |
| Snap to top / front / side viewClick the X, Y, or Z axis labels on the Scene gizmo | XYZaxis labels |
| Isolate selected objectHides everything else so you can focus on one object | AltAlt+Shift+H |
| Toggle object visibility in sceneHides selected object from scene view (not in-game) | H |
| Toggle global / local transform axesSwitches gizmo between world and object orientation | X |
💻SCRIPTING & CONSOLE
| ACTION | SHORTCUT |
|---|---|
| Open script in Visual StudioDouble-click any .cs file in the Project panel | Double Clickscript |
| Clear ConsoleWipes all log messages — useful to check for fresh errors | Clear button(Console) |
| Refresh / reimport all assetsForces Unity to recheck scripts and assets | CtrlCmd+R |
| TIP Debug.Log() in Visual StudioType Debug.Log("test"); and press Ctrl+S to test if a method is running | CtrlCmd+Sin VS |
🪟WINDOWS & PANELS
| ACTION | SHORTCUT |
|---|---|
| Open Project SettingsQuality, physics, input, audio — all global settings | CtrlCmd+Shift+9 |
| Open Editor PreferencesKeybindings, external tools, colors | CtrlCmd+Shift+0 |
| Maximize / restore active panelHover over any panel (Scene, Game, etc.) and press Space | Space(hover over panel) |
| Reset to default layoutWindow → Layouts → Default | Window menu |