# Tile Palette window reference

> Explore the properties and settings you use to paint tiles onto a tilemap.

Explore the properties and settings you use to paint tiles onto a tilemap. For more information, refer to [Paint tiles into the scene](/engine/6000.7/manual/unity2d/tilemaps/create-tilemap/create-tilemap.md).


**The Tile Palette editor window with the toolbar (A) at the top, the active tilemap dropdown menu and overlay buttons (B), the main area where you view and edit the tile palette (C), and the Brush Inspector window (D).:**
![](/api/media?file=/engine/6000.7/media/images/2d-tile-palette-window_labelled.png)

## Toolbar

Use the tools in the toolbar to select a tile in the tile palette, then paint, move, and edit tiles in the Editor view.

> **Note:**
>
> If you enable **Tile Palette Edit**, the tools select, move, and edit the tiles inside the tile palette instead of the tiles in the **Scene** view.

| **Tool**                     | **Icon** | **Description**                                                                                                                                                                                                                                                              | **Keyboard shortcut** |
| ---------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| **Select**                   |          | Selects a tile in the main area or the **Scene** view. Click and drag to select multiple tiles. The [**Grid Selection** Inspector window](/engine/6000.7/manual/unity2d/tilemaps/create-tilemap/grid-selection-properties-reference.md) displays the properties of the tile. | **S**                 |
| **Move**                     |          | Moves a tile in the **Scene** view. Select a tile with the **Select** tool first, select **Move**, then click and drag the tile.                                                                                                                                             | **M**                 |
| **Paint**                    |          | Paints tiles. Select the tool, select a tile on the tile palette, then paint into the **Scene** view. Click and drag to select multiple tiles in the tile palette.                                                                                                           | **B**                 |
| **Box Fill**                 |          | Paints rectangular groups of tiles. Select the tool, click and drag to select an area of tiles in the tile palette, then click and drag to paint in the **Scene** view.                                                                                                      | **U**                 |
| **Pick**                     |          | Picks a tile from the tile palette or the **Scene** view, then switches to the **Paint** tool. Click and drag to select multiple tiles.                                                                                                                                      | **I**                 |
| **Eraser**                   |          | Removes tiles from the **Scene** view. To erase a large area, select the tool, then click and drag in the tile palette to select the size of the eraser.                                                                                                                     | **D**                 |
| **Flood Fill**               |          | In the **Scene** view, fills a blank area or an area of identical tiles with the selected tile. You can't use this tool with more than one tile.                                                                                                                             | **G**                 |
| **Rotate Counter-Clockwise** |          | Rotates the current **Paint** tool tile 90° counterclockwise.                                                                                                                                                                                                                | **\[**                |
| **Rotate Clockwise**         |          | Rotates the current **Paint** tool tile 90° clockwise.                                                                                                                                                                                                                       | **]**                 |
| **Flip X**                   |          | Flips the current **Paint** tool tile along the x-axis.                                                                                                                                                                                                                      | **Shift+\[**          |
| **Flip Y**                   |          | Flips the current **Paint** tool tile along the y-axis.                                                                                                                                                                                                                      | **Shift+]**           |

## Active Target dropdown menu and overlay buttons

| **Property**             | **Sub-property**       | **Icon** | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------ | ---------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Tilemap**       | N/A                    |          | Sets the tilemap you want to paint tiles onto. When you open the dropdown, the active tilemap has a checkmark (**✓**) next to its name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| N/A                      | **Filter by name**     |          | Filters the tilemaps in the dropdown by name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| N/A                      | **Hide Tilemap**       |          | Hides the tilemap in the **Scene** view.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| N/A                      | **Ping Tilemap**       |          | Highlights the tilemap in the **Hierarchy** window.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| N/A                      | **Create New Tilemap** | N/A      | Creates a new tilemap. The options are:**From Tile Palette**: Creates a grid and tilemap with the same tile dimensions as the tile palette. This makes sure the tiles fit into the grid and the tilemap.**Rectangular Tilemap**: Lays out the cells as a rectangular grid.**Hexagonal Point Top Tilemap**: Lays out the cells as a hexagonal grid and aligns the hexagons so they have a point at the top.**Hexagonal Flat Top Tilemap**: Lays out the cells as a hexagonal grid and aligns the hexagons so they have a flat edge at the top.**Isometric Tilemap**: Lays out the cells as an isometric grid.**Isometric Z As Y Tilemap**: Lays out the cells as an isometric grid, where each tile has a z value that represents its 3D height. |
| **Brush Picks Overlay**  | N/A                    |          | Displays the [Brush Picks overlay](/engine/6000.7/manual/unity2d/tilemaps/brush-picks/overlay-reference.md) in the **Scene** view. For more information, refer to [Save and reuse a tile selection with Brush Picks](/engine/6000.7/manual/unity2d/tilemaps/brush-picks/brush-picks.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Tile Palette Overlay** | N/A                    |          | Displays the [Tile Palette Clipboard overlay](#tile-palette-clipboard-overlay) in the **Scene** view, which is a compact version of the Tile Palette window.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

## Main area

| **Property**                | **Icon** | **Description**                                                                                                                                                                                                             |
| --------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Active Tile Palette**     |          | Sets the tile palette to display and use. When you open the dropdown, the active tile palette has a checkmark (**✓**) next to its name.The tile palette name displays a link icon () if you enable **Sync Active Palette**. |
| **Create New Tile Palette** | N/A      | Creates a new tile palette.                                                                                                                                                                                                 |
| **Sync Active Palette**     |          | Locks the current tilemap to this tile palette. When enabled, Unity automatically selects this tile palette when you select the current tilemap.                                                                            |
| **Tile Palette Edit**       |          | Enables editing the tile palette instead of the **Scene** view. When you enable this property, the tools in the toolbar select, move, and edit the tiles in the main area of the Tile Palette window.                       |
| **Grid**                    |          | Displays the tile grid in the main area.                                                                                                                                                                                    |
| **Gizmos**                  |          | Enables gizmos in the main area. If you enable **Tile Palette Edit** and select a tile using the **Select** tool, Unity displays gizmos for moving, rotating, scaling, and transforming tiles.                              |

### Create New Tile Palette overlay

| **Property**     | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**         | Sets the name of the tile palette.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Grid**         | Sets the layout of the cells. The options are:**Rectangle**: Lays out the cells as a rectangular grid.**Hexagon**: Lays out the cells as a hexagonal grid.**Isometric**: Lays out the cells as an isometric grid.**Isometric Z as Y**: Lays out the cells as an isometric grid, where each tile has a z value that represents its 3D height.                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Hexagon Type** | Sets the type of a hexagonal grid. This option is available only if you set **Grid** to **Hexagon**. The options are:**Point Top**: Aligns the hexagons so they have a point at the top.**Flat Top**: Aligns the hexagons so they have a flat edge at the top.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Cell Size**    | Sets the size of the cells in the tile palette. The options are:**Automatic**: Sets the cell size automatically based on the size of the tile at the bottom-left of the tile palette.**Manual**: Sets the cell size manually in units.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Sort Mode**    | Sets the method Unity uses to calculate the depth of tiles for sorting. This property has transparency in its name because Unity renders 2D objects during the transparent render pass. For more information, refer to [Sort sprites](/engine/6000.7/manual/unity2d/sprite/sort-sprites/sort-sprites.md).The options are:**Default**: Sorts using **Perspective** or **Orthographic**, depending on the **Projection** property of the camera.**Perspective**: Calculates the depth of a tile as the distance between the tile and the center point of the camera. Use this option for isometric games.**Orthographic**: Calculates the depth of a tile as the distance between the tile and the camera plane. Use this option for top-down games.**Custom Axis**: Uses a custom axis to calculate depth. |
| **Sort Axis**    | Sets the x-axis, y-axis, and z-axis of the sorting axis if you set **Sort Mode** to **Custom Axis**. For example, a vertical axis (0, 1, 0) means higher GameObjects are further away, which is useful for top-down games.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

## Brush Inspector window

Use the **Brush Inspector** window to determine the behavior of the **Paint** tool.

The following table lists the properties of the **Default Brush**. For the properties of other brushes, refer to the [2D Tilemap Extras package documentation](https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@latest).

| **Property**                   | **Description**                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Brush**                      | Sets the behavior of the **Paint** tool. The options are:**Default Brush**: Paints normally.**Line Brush**: Paints a line of tiles.**Random Brush**: Paints random tiles.**Game Object Brush**: Paints GameObjects instead of tiles.**Group Brush**: Picks a group of neighboring tiles from the tile palette.The brush name displays a link icon () if you enable **Sync Active Brush**. |
| **Sync Active Brush**          | Locks the current tilemap to this brush. When enabled, Unity automatically selects this brush when you select the current tilemap.                                                                                                                                                                                                                                                        |
| **Toggle visibility**          | Hides the **Brush Inspector** window. To display the window again, click the horizontal control at the bottom of the **Tile Palette** window and drag up.                                                                                                                                                                                                                                 |
| **Script**                     | The script that defines the behavior of the brush. To create a custom brush, refer to [Create a custom brush that runs a script](/engine/6000.7/manual/unity2d/tilemaps/custom-tiles-brushes/create-scriptable-brush.md).                                                                                                                                                                 |
| **Flood Fill Contiguous Only** | Sets the **Flood Fill** tool to fill only tiles connected to the tile you click. If you disable this property, the **Flood Fill** tool fills all tiles of the same type across the tilemap.                                                                                                                                                                                               |
| **Lock Z Position**            | Locks all the tiles you paint to the z position of the tile you select.                                                                                                                                                                                                                                                                                                                   |
| **Scene View Z Position**      | Paints the tiles at this z position. This property is available only if you disable **Lock Z Position**. Select **Reset** to reset the z-position value back to zero.                                                                                                                                                                                                                     |
| **Palette Z Position**         | Paints any tiles from the tile palette at this z position. This property is available only if you disable **Lock Z Position**. Select **Reset** to reset the z-position value back to zero.                                                                                                                                                                                               |

### Keyboard shortcuts

| **Key**         | **Description**                                                                                        |
| --------------- | ------------------------------------------------------------------------------------------------------ |
| **−**           | Increases the z value of the tile. This property is available only if you disable **Lock Z Position**. |
| **=**           | Decreases the z value of the tile. This property is available only if you disable **Lock Z Position**. |
| **Shift+B**     | Selects the next brush in the **Brush** dropdown.                                                      |
| **Shift+Alt+B** | Selects the previous brush in the **Brush** dropdown.                                                  |

## Color preferences

You can customize the colors that the Tile Palette window and the Scene view Grid component use. For more information, refer to [2D color preferences](/engine/6000.7/manual/unity-editor/editor-settings-reference/preferences/colors.md#2d) and [Scene color preferences](/engine/6000.7/manual/unity-editor/editor-settings-reference/preferences/colors.md#scene).

## Additional resources

* [Create a Tile Palette](/engine/6000.7/manual/create-tile-palette.md)
* [2D Tilemap Extras package](https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@latest)
