Scenes and hierarchy
Updated
A project contains one or more scenes, and each scene contains a tree of objects. The Scenes panel switches between scenes and manages them, the Hierarchy panel shows and organizes the objects in the current scene, and the viewport toolbar moves, rotates and scales them.
Scenes
Section titled “Scenes”The Scenes panel sits as a tab beside Hierarchy in the default layout. Click a scene to open it in the viewport.
| Task | How |
|---|---|
| Add a scene | Choose Add scene in the panel toolbar. It adds an empty scene. |
| Find a scene | Type in Search scenes…. |
| Rename a scene | Double-click it, press F2, or choose Rename from its context menu. |
| Choose the starting scene | Right-click the scene and choose Set as Entry Point. The starting scene is marked Default scene. You can also set it as Start Scene in Project Settings → General. |
| Delete a scene | Press Delete or Backspace, or choose Delete from its context menu, then confirm. Deleting a scene removes all its content. |
Open a scene’s context menu with a right-click or Shift+F10.
For how scenes load and switch at run time, see Scene structure and Scene switching.
Add objects
Section titled “Add objects”Open the Add menu in the header, or Add objects to the scene in the Hierarchy toolbar. Type in Search to filter, then choose an object. Objects are grouped by category:
| Category | Examples |
|---|---|
| Camera | Perspective and Orthographic cameras |
| Logic | Groups, behaviors, AI agents, persistables |
| Text | Text and 3D text |
| Mesh | Primitive, floor, terrain, imported model types, Splat, kit pieces |
| Light | Directional, Point, Spot, Hemisphere, Ambient, Rect Area, light probes |
| Audio | Audio, Positional, Ambisonic, Tone, Positional Tone, audio zones |
| Surface | Images, SVG, GIF, KTX2, video, Lottie, PDF, snap zones |
| Effects | Water, fire, decals, masks |
| Navigation | NavMesh Surface, NavMesh Link, spawn points, waypoints, spot and travel points |
| UI | Panels, layouts, lists, menus, buttons, toggles, sliders, inputs, keyboards, labels, images and more |
| XR | XR world, planes and meshes |
The menu lists only the objects the runtime offers. An object that can’t be added right now is disabled with the reason. To add an object inside another one, right-click the parent in the Hierarchy and choose Add Child.
You can also drag a file from Resources into the viewport to place it. See Assets and prefabs.
For what each object is made of, see Entities and Components.
Hierarchy
Section titled “Hierarchy”The Hierarchy panel lists the objects in the current scene as a tree. Its footer shows how many objects the scene has. Rows show flags for objects that are Disabled, Locked or have Raycasting off, and a badge for objects with issues.
| Task | How |
|---|---|
| Select an object | Click its row, or click it in the viewport. |
| Select several | Ctrl-click (⌘-click on macOS) to add or remove, Shift-click to select a range. |
| Find an object | Type in Search objects…. |
| Show only problem objects | Choose Show objects with errors (shown when some objects have errors). |
| Rename | Double-click the row, press F2, or choose Rename. |
| Re-parent or reorder | Drag a row onto another: the top edge places it before, the bottom edge after, and the middle makes it a child. |
| Duplicate | Choose Duplicate or press Ctrl+D (⌘D). |
| Create a prefab | Choose Create Prefab. See Assets and prefabs. |
| Delete | Choose Delete or press Delete / Backspace. |
Right-click a row (or press Shift+F10) for its context menu: Add Child, Rename, Duplicate, Create Prefab and Delete.
Copy and paste
Section titled “Copy and paste”Edit → Copy (Ctrl+C), Paste (Ctrl+V) and Paste as Child (Ctrl+Shift+V) copy and paste the selected objects; on macOS use ⌘ instead of Ctrl. Paste as Child needs exactly one destination object selected. Select → Select all Objects selects every object in the scene.
Transform objects
Section titled “Transform objects”Select an object, then use the tools in the toolbar above the viewport, or the keyboard:
| Tool | Key |
|---|---|
| Translate | W |
| Rotate | E |
| Scale | R |
| Toggle World / Local space | X |
| Focus on the selection | F |
| Clear the selection | Escape |
The toolbar also sets:
- Pivot: Selection, Center or Bottom.
- Snap: on or off, with a snap distance of 0.1, 0.125, 0.25, 0.5, 1, 2 or 4 m and a snap angle of 1°, 5°, 10°, 15°, 30°, 45° or 90°.
- Grid: visibility, Spacing and Height.
You can also type exact values in the Transform section of Properties. See Properties and components.
Navigate the viewport
Section titled “Navigate the viewport”| Action | Control |
|---|---|
| Orbit | Drag with the left mouse button. |
| Box select | Hold Shift and drag with the left mouse button. |
| Pan | Drag with the middle mouse button. |
| Fly | Hold the right mouse button, then use W A S D or the arrow keys; Q / E move down and up, and Shift flies faster. |
Help → Keyboard and Mouse Controls (?) shows these controls at any time.