Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Grid Selection Inspector window reference

Explore the properties you can use to customize a tile you select.
Read time 3 minutesLast updated 13 days ago

Explore the properties you can use to customize a tile you select in a 2D tilemap grid, either in the
Scene

?

view or the Tile Palette window.
To select a tile and open the window, use the Select tool in the Tile Palette window.

Property

Description

PositionThe position of the selected tiles, in cell coordinates.
SizeThe size of the selected tiles in cells.

Grid Selection Properties

For more information about the properties in this section, refer to Tile asset reference.

Property

Description

TileSets the tile asset at the selected location. To set the tile, drag a tile asset from the Project window, or select the picker (⊙). This property is blank if you select multiple cells with different tiles.
SpriteThe sprite Unity renders. This property is blank if you select multiple cells with different tiles. You can't edit this property in this window.
ColorThe color Unity uses to tint the tile. You can't edit this property in this window if Lock Color is enabled in the Tile asset Inspector window.
Collider TypeThe shape Unity uses to check for collisions with the tile. You can't edit this property in this window.
GameObject to InstantiateThe prefab Unity adds to the tilemap at the same position as the tile. You can't edit this property in this window.
OffsetSets the fixed offset position of the tile.
RotationSets the fixed rotation of the tile.
ScaleSets the fixed scale of the tile.
Lock ColorWhether Unity prevents brushes or other tools changing the Color of the sprite. You can't edit this property in this window.
Lock TransformWhether Unity prevents brushes or other tools changing the offset position, rotation, or scale of the sprite. You can't edit this property in this window.
Delete SelectionDeletes the selected tiles from the Scene view or the tile palette.

Modify Tilemap

Use the properties in this section to configure the tilemap the tile belongs to.
If you select one of the tools, Unity automatically enables Tile Palette Edit in the Tile Palette window.

Property

Description

NoneDisplays no gizmo in the Scene view.
MoveDisplays a move gizmo in the Scene view, which allows you to move the selected tile by clicking and dragging.
RotateDisplays a rotate gizmo in the Scene view, which allows you to rotate the selected tile by clicking and dragging.
ScaleDisplays a scale gizmo in the Scene view, which allows you to scale the selected tile by clicking and dragging.
TransformDisplays a transform gizmo in the Scene view, which allows you to move, rotate, and scale the selected tile by clicking and dragging.
DropdownSelects how to modify the tilemap when you select Modify. Use the numeric field to enter the number of rows or columns to insert or delete. The options are:
  • Insert Row: Inserts rows and moves existing cells up.
  • Insert Row Before: Inserts rows and moves existing cells down.
  • Delete Row: Deletes rows and moves existing cells down.
  • Delete Row Before: Deletes rows and moves existing cells up.
  • Insert Column: Inserts columns and moves existing cells right.
  • Insert Column Before: Inserts columns and moves existing cells left.
  • Delete Column: Deletes columns and moves existing cells left.
  • Delete Column Before: Deletes columns and moves existing cells right.
ModifyModifies the tilemap based on the dropdown option and value. For example, if you select Insert Row and set the value of 2, Unity inserts two rows above the selected cell, and moves all existing cells above those rows up.
Note
If you select multiple cells, Modify uses the bottom-left cell as the point of reference for how to modify the tilemap. For example, if you select two cells and choose Insert Row with a value of 2, Unity inserts two rows above the bottom-left cell, and moves all existing cells above those rows up.

Additional resources