Skip to content

Viewport ​

The viewport is the big 3D view in the middle of the editor. It runs the full height of the window. You look around your scene with the mouse, select objects by clicking them, and move, turn and scale them with the gizmo. When you switch to the Preview tab, your game runs here too (see Preview and test).

The viewport with a selected object and its gizmo

Moving the camera ​

InputWhat it does
Alt / Option + left-dragOrbit around the scene.
Alt / Option + Shift + left-dragPan.
Mouse wheelZoom in and out.
FFocus the camera on the selected object.
Shift + FFrame the selected object so it fills the view.

Selecting ​

  • Click an object to select it. The inspector shows its settings and its row lights up in the Outliner.
  • Click empty space or press Esc to clear the selection. The inspector then shows World Config.

The gizmo ​

A selected object gets one gizmo that does all three jobs:

  • Arrows move it along an axis.
  • Rings turn it around an axis.
  • Small handles at the other end of each axis scale it.

Drag a part of the gizmo to change the object. Every drag is one step you can undo.

Viewport tools ​

The controls at the top right of the viewport change how the gizmo works and what you see. Point at one to see its name.

Transform selector. Picks which axes the gizmo shows:

OptionKeyWhat it does
All transformQEvery axis.
GroundWMoves on the ground (the X and Z axes).
FrontEMoves on the front plane (X and Y).
SideRMoves on the side plane (Y and Z).

In Ground, Front and Side, a round handle appears on the object so you can drag even small or empty objects across that plane.

Global / Local. Press X or click to switch. Global lines the gizmo up with the world; Local lines it up with the object's own rotation.

Helpers. Shows or hides editor-only helpers for lights, audio and physics colliders. Helpers never appear in your game.

Play animations. Plays your characters' animations in the editor (click Stop animations to stop them). While it's off, each animated model holds the first frame of its animation and moving effects stay still, which keeps the editor fast. It turns itself off each time you open the project. It doesn't change what plays in your game.

Camera preview ​

When you select a camera, a small picture in the corner of the viewport shows what that camera sees. Two buttons sit on it:

  • Align camera with view moves the camera to where you're looking from in the viewport.
  • Lock camera preview keeps that camera's picture on screen when you select something else. Click again to unlock.

Dropping things in ​

Drag a model, image, video, audio file or prefab from the Assets tab onto the viewport to add it to your scene. You can also drag a Sketchfab card straight in. In an image-tracking project, what you drop is placed on the active image target.

Other things you'll see ​

  • Image Targets panel. In image-tracking projects, the panel for your target pictures sits over the viewport. See Image tracking.
  • Terrain brush. When you're sculpting a terrain, a left-drag on it paints with the brush; Alt + drag still orbits. See Terrain.
  • The viewport stopped drawing. If the graphics card resets, the editor reloads the scene for you. If it can't, it shows this message with a Reload scene button.

Shortcuts for selected objects ​

ShortcutWhat it does
Delete or BackspaceDelete the selected objects.
Cmd/Ctrl + DDuplicate them.
Cmd/Ctrl + C, Cmd/Ctrl + VCopy and paste them.
Cmd/Ctrl + GGroup them.
Shift + PMove a model's pivot to its centre.

See Keyboard shortcuts for the full list.