---
title: UI Editor window reference
product: Unity Spark
canonical: https://docs.unity.com/en-us/unity-spark/create/build/ui-editor/ui-editor-window-reference
last_updated: 2026-12-01
generated_at: 2026-12-01T21:03:58.523Z
locale: en-us
---

# UI Editor window reference

> Explore the UI Editor's elements, toolbar tools, UI Style settings, canvas controls, and keyboard and mouse shortcuts in Unity Spark.

The **UI Editor** is a flat view of your game's screen where you drag elements into place. It opens as a tab next to the [Scene view](/unity-spark/create/build/scenes/scene-view/scene-window-reference.md) when you select a UI element that's drawn on the screen, such as a canvas or a button. It doesn't open for a canvas in the 3D world. For instructions, refer to [Open the UI Editor and add canvases](/unity-spark/create/build/ui-editor/open-ui-editor.md).


**The UI Editor with a main menu canvas open.:**
![The UI Editor tab next to the Scene tab, showing a main menu canvas with Play, Customize, and Options buttons. The Hierarchy window on the left has UI Canvas selected, and the element toolbar is at the bottom.](/api/media?file=/unity-spark/media/images/ui-editor-canvas.png)

## Element toolbar

The toolbar at the bottom of the **UI Editor** holds every UI element you can add. For more information about each element, refer to [UI elements](/unity-spark/create/build/ui-editor/elements.md).

The following elements are only available in this toolbar, not in the [Hierarchy window](/unity-spark/create/build/objects-prefabs/hierarchy-window-reference.md)'s **Add object** (**+**) menu.

| **Element**      | **Use for**                                              |
| :--------------- | :------------------------------------------------------- |
| **Icon**         | Ready-made symbols such as hearts, coins, and arrows.    |
| **Shape**        | Panels, frames, and backgrounds styled by your UI style. |
| **Progress Bar** | Health, loading, timers.                                 |

To return to the selection tool, select **Select** (**Esc**).

## Top toolbar

The toolbar at the top of the **UI Editor** has the following tools.

| **Tool**               | **Description**                                                                                                                                                             |
| :--------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Snap** (magnet icon) | Snaps elements to alignment guides as you drag. Hold **Ctrl** (macOS: **Cmd**) while dragging to temporarily enable or disable snapping.                                    |
| **Align**              | Aligns the left edges, centers, right edges, tops, or bottoms of two or more selected elements.                                                                             |
| **Distribute**         | Spaces three or more selected elements evenly, horizontally or vertically.                                                                                                  |
| **Camera display**     | Shows one of your scene's cameras behind the UI, so you can view how it sits over the game.                                                                                 |
| **Auto-anchor**        | Sets each element's anchor automatically from where you place, move, or resize it.                                                                                          |
| Aspect-ratio menu      | Previews different screen shapes. Refer to [Preview different screen shapes](/unity-spark/create/build/ui-editor/align-anchor-elements.md#preview-different-screen-shapes). |
| **UI Style**           | Opens the **UI Style** settings, at the right end of the toolbar. Refer to [UI Style settings](#ui-style-settings).                                                         |

When you have more than one canvas, the canvas menu shows the canvas you're editing and lets you choose a different one.

## UI Style settings

The **UI Style** settings set the appearance of every element in your game at once.

| **Setting**                        | **Description**                                                                                |
| :--------------------------------- | :--------------------------------------------------------------------------------------------- |
| **Preset**                         | Sets the style preset: **Clean**, **Arcade**, **Fantasy**, **Sci-fi**, **Cute**, or **Pixel**. |
| **Colors**                         | Adjusts the style's colors.                                                                    |
| **Text**                           | Sets the heading and body fonts and sizes.                                                     |
| **Shape**                          | Sets the corner radius, border width, and shadow.                                              |
| **Reset everything to the preset** | Starts over from the selected preset.                                                          |

## Context menu

Right-click (macOS: **Ctrl**+click) an element on the canvas to open the context menu. If the element isn't selected, right-clicking it selects it. If you right-click inside a selection of several elements, the commands apply to every selected element. When you right-click the canvas itself, the menu shows only **Add UI Element**.

The context menu contains the following commands.

| **Command**        | **Description**                                                                                       |
| :----------------- | :---------------------------------------------------------------------------------------------------- |
| **Add UI Element** | Adds the element you choose from the list inside the element you right-clicked, or inside the canvas. |
| **Duplicate**      | Creates a copy of each selected element.                                                              |
| **Delete**         | Deletes the selected elements. You can also press **Delete** or **Backspace**.                        |
| **Bring to Front** | Moves the element in front of every other element that shares its parent element.                     |
| **Bring Forward**  | Moves the element one place forward among the elements that share its parent element.                 |
| **Send Backward**  | Moves the element one place back among the elements that share its parent element.                    |
| **Send to Back**   | Moves the element behind every other element that shares its parent element.                          |

Elements that are lower in the [Hierarchy window](/unity-spark/create/build/objects-prefabs/hierarchy-window-reference.md) draw on top of the elements above them, so the layering commands also change the element's position in the **Hierarchy** window.

## Canvas navigation controls

Use the following controls to move around the canvas.

| **Action** | **Controls**                                                                                   |
| :--------- | :--------------------------------------------------------------------------------------------- |
| Zoom       | Scroll.                                                                                        |
| Pan        | Hold **Alt** (macOS: **Option**) and drag, or drag with the middle mouse button.               |
| Frame      | Press **F** to fit the selected element in view, or the whole canvas when nothing is selected. |

## Keyboard and mouse shortcuts

The **UI Editor** has the following keyboard and mouse shortcuts.

| **Shortcut**                                                                                                           | **Action**                               |
| :--------------------------------------------------------------------------------------------------------------------- | :--------------------------------------- |
| **Delete** or **Backspace**                                                                                            | Delete the selected elements.            |
| Drag on an empty part of the canvas                                                                                    | Select several elements at once.         |
| **Ctrl**+click (macOS: **Cmd**+click)                                                                                  | Select an element nested inside another. |
| Hold **Shift** while resizing                                                                                          | Keep the proportions.                    |
| Hold **Alt** (macOS: **Option**) while resizing                                                                        | Resize from the center.                  |
| Drag an image from the [Project window](/unity-spark/create/assets/manage/project-window-reference.md) onto the canvas | Add the image to the canvas.             |

## Additional resources

* [Introduction to game UI](/unity-spark/create/build/ui-editor/ui-editor-concepts.md)
* [Add and style UI elements](/unity-spark/create/build/ui-editor/add-style-elements.md)
* [Align elements and make your UI fit every screen](/unity-spark/create/build/ui-editor/align-anchor-elements.md)
