The Scene View has a set of navigation controls to help you move around quickly and efficiently.
You can use the
to move around the scene as though “walking” through it. The up and down arrows move the camera forward and backward in the direction it is facing. The left and right arrows pan the view sideways. Hold down the key with an arrow to move faster.If you select a GameObject in the hierarchy, then move the mouse over the scene view and press ‘Frame Selected’ under the ‘Edit’ menu. However if you would like to lock the view to the object even when the object is moving then press , this feature is referred to as ‘Lock View to Selected’ under the ‘Edit’ menu.
, the view will move so as to center on the object. This feature is referred to asMoving, orbiting and zooming are key operations in Scene View navigation, so Unity provides several alternative ways to perform them for maximum convenience.
When the hand tool is selected (shortcut:
), the following mouse controls are available:Move: Click-drag to drag the camera around.
Orbit: Hold and click-drag to orbit the camera around the current pivot point. This option is not available in 2D mode as the view is orthographic.
Zoom: Hold Alt and right click-drag to zoom the Scene View. On Mac you can also hold Control and click-drag instead.
Holding down
will increase the rate of movement and zooming.For extra efficiency, all of these controls can also be used regardless of which transform tool is selected. The most convenient controls depend on which mouse or track-pad you are using:
Action | 3-button mouse | 2-button mouse or track-pad | Mac with only one mouse button or track-pad |
---|---|---|---|
Move | Hold | and middle click-drag.Hold | and click-drag.Hold | and click-drag.
*Orbit | Hold | and click-drag.Hold | and click-drag.Hold | and click-drag.
Zoom | Hold | and right click-drag or use scroll-wheel.Hold | and right click-drag.Hold | and click-drag or use two-finger swipe.
* Not available in 2D mode.
The Flythrough mode lets you navigate the Scene View by flying around in first person similar to how you would navigate in many games.
Flythrough mode is designed for Perspective Mode. In Isometric Mode, holding down the right mouse button and moving the mouse will orbit the camera instead.
Note that in 2D mode, flythrough mode is not available. Holding the right mouse button down while moving the mouse allows you to pan around the scene view.
In the upper-right corner of the Scene View is the Scene Gizmo. This displays the Scene View Camera’s current orientation, and allows you to quickly modify the viewing angle.
You can click on any of the arms to snap the Scene View Camera to that direction. Click the middle of the Scene Gizmo, or the text below it, to toggle between Isometric Mode and Perspective Mode. You can also always shift-click the middle of the Scene Gizmo to get a “nice” perspective view with an angle that is looking at the scene from the side and slightly from above.
Note that in 2D mode, the scene gizmo will not be displayed since the only option is to have the view looking perpendicularly at the XY plane.
On a Mac with a trackpad, you can drag with two fingers to zoom the view.
You can also use three fingers to simulate the effect of clicking the arms of the Scene Gizmo: drag up, left, right or down to snap the Scene View Camera to the corresponding direction. In OS X 10.7 “Lion” you may have to change your trackpad settings in order to enable this feature: