Explore the properties you can use to customize how Unity renders a sprite in the scene.
| Property | Description |
|---|---|
| Sprite | Sets the sprite Unity renders. To select a sprite, drag a sprite asset from the Project window, or select the picker (⊙). |
| Open Sprite Editor | Opens the sprite texture in the Sprite Editor window. For more information, refer to Sprite Editor window reference. |
| Color | Tints the sprite with the selected color. Set the color to white to render without a tint. |
| Flip | Mirrors the texture along the x-axis or the y-axis. Enabling this property doesn’t move or mirror the location of the GameObject. |
| Draw Mode | Determines how Unity scales the sprite texture. The options are:
|
| Mask Interaction | Set how a sprite maskA texture which defines which areas of an underlying image to reveal or hide. More info See in Glossary affects this sprite. The options are:
|
| Sprite Sort Point | Sets which point on the sprite Unity uses to calculate its distance on the camera, which affects render order during sorting. The options are:
|
| Material | Sets the material for the sprite. The default material is Sprite-Lit-Default. To set the material, drag a material from the Project window, or select the picker (⊙). |
The following properties are available when you set the Draw Mode to Sliced or Tiled.
| Property | Description |
|---|---|
| Size | Sets the size of the sprite. |
| Tile Mode | Sets how Unity repeats, or tiles, the texture across the resized sprite. This property is available only if you set Draw Mode to Tiled. The options are:
|
| Stretch Value | Sets the width or height at which the sprite texture stops stretching and repeats instead. A value of 1 for Stretch Value means the center of the sprite repeats when the sprite is twice its original size. A lower value means the sprite repeats less often. |
| Property | Description |
|---|---|
| Sorting Layer | Sets which layer the sprite belongs to, which determines when Unity renders it. Unity renders layers in the order of the list in the Tags and layers window. Select an existing layer, or select Add Layer to add a new sorting layer. For more information, refer to Change the sorting order of 2D GameObjects. |
| Order in Layer | Sets which sublayer the sprite belongs to within its Sorting Layer. Unity renders lower values before higher values. For more information, refer to Change the sorting order of 2D GameObjects. |
| Rendering Layer Mask | Sets which rendering layers this GameObject belongs to. For more information, refer to Rendering Layers in URP. |