---
title: Add and edit sprites
product: Unity Spark
canonical: https://docs.unity.com/en-us/unity-spark/create/build/2d/sprites
last_updated: 2026-12-01
generated_at: 2026-12-01T21:08:42.831Z
locale: en-us
---

# Add and edit sprites

> Add sprites to a 2D scene, use placeholder shapes and your own images, slice sprite sheets in the Sprite Editor, and set how sprites draw and sort in Unity Spark.

Sprites are the flat images that make up a 2D game, such as characters, items, and scenery. For how sprites fit into a 2D game, refer to [Introduction to 2D games in Unity Spark](/unity-spark/create/build/2d/about-2d.md).

## Add a sprite

To add a sprite to your scene:

1. In the [Hierarchy window](/unity-spark/create/build/objects-prefabs/hierarchy-window-reference.md), select **Add object** (**+**) or right-click.
2. Select **2D Object** > **Sprite**.

A new sprite renders as a white square, so it appears in the **Scene** view immediately. To change what it shows, set its **Sprite** in the **SpriteRenderer** [component](/unity-spark/create/build/components/about-components.md). For a description of each property, refer to [SpriteRenderer properties](/unity-spark/create/build/2d/2d-reference.md#spriterenderer-properties).

## Use placeholder sprites

To lay out a rough version of a level before you have art, use the white placeholder shapes in the **Built-in** source of the [Project window](/unity-spark/create/assets/manage/project-window-reference.md). Resize them with the object's scale. The following table describes the shapes and what you can use them for.

| **Shape**             | **Use**                                                                                      |
| :-------------------- | :------------------------------------------------------------------------------------------- |
| **Triangle**          | A stand-in for obstacles, such as spikes or ramps.                                           |
| **Square**            | A stand-in for platforms, walls, and obstacles.                                              |
| **Circle**            | A stand-in for round objects, such as balls, coins, or props.                                |
| **Capsule**           | A stand-in for a character.                                                                  |
| **Isometric Diamond** | A stand-in for tiles on an isometric [tilemap](/unity-spark/create/build/2d/tilemaps.md).    |
| **Hexagon Flat Top**  | A stand-in for tiles on a hexagonal flat top tilemap.                                        |
| **Hexagon Point Top** | A stand-in for tiles on a hexagonal point top tilemap.                                       |
| **9-Sliced**          | A square that stretches without distorting its corners, for platforms or panels of any size. |

When you place a shape from the **Built-in** source, Unity Spark adds it as a UI image on a Canvas. For **9-Sliced**, Unity Spark sets the **Image Type** to **Sliced**, so you can stretch it without distorting its corners.

## Use your own images

PNG and JPG images become sprites when you import them. For how to import files, refer to [Add files to your project](/unity-spark/create/assets/add-files.md).

To change how an image works as a sprite, select it in the **Project** window. The **Sprite** section of the [Inspector window](/unity-spark/create/build/components/inspector-window-reference.md) contains the following settings.

| **Setting**            | **Description**                                                                                                                                                                                         |
| :--------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Sprite Mode**        | Determines whether the image is one sprite or several. **Single** uses the whole image as one sprite. **Multiple** lets you slice the image into several sprites, such as the frames of a sprite sheet. |
| **Filter Mode**        | Sets how the image appears when scaled. Use **Point (no filter)** for crisp pixel art.                                                                                                                  |
| **Pixels Per Unit**    | Sets how many pixels of the image fit in one unit of the scene. Higher values make the sprite smaller. Select **Save** to apply a change.                                                               |
| **Open Sprite Editor** | Opens the **Sprite Editor** window to slice the image, or to set its border and pivot.                                                                                                                  |

## Slice a sprite sheet

A sprite sheet holds several frames or images in one file.

To split a sprite sheet into separate sprites:

1. Select the image in the **Project** window.
2. In the **Inspector** window, set **Sprite Mode** to **Multiple**.
3. Select **Open Sprite Editor**.
4. In the **Sprite Editor** window, select **Slice**.
5. Select a **Type**:
   * **Automatic**: Creates one slice for each separate shape in the image.
   * **Grid by cell size**: Creates slices of a set size, in pixels.
   * **Grid by cell count**: Creates a set number of columns and rows.
6. Select **Slice**.
7. If needed, adjust the slices:
   * To draw a new slice, drag on an empty area.
   * To move a slice, drag it. To resize it, drag its corners.
   * To set a slice's pivot, drag its pivot handle, or select a **Pivot** in the side panel.
   * To delete the selected slice, press **Delete**, or select **Delete slice**.
8. Select **Apply**.

Each slice becomes a sprite you can use in a **SpriteRenderer** component, a tilemap, or a sprite animation. Unity Spark names new slices `sprite_0`, `sprite_1`, `sprite_2`, in order. To rename a slice, select it and change its **Name**. Two slices can't have the same name.

To discard your changes, select **Revert**. If you close the window without selecting **Apply**, Unity Spark doesn't save your changes.

## Stretch a sprite and keep its corners

To stretch a sprite, such as a platform or a button, without distorting its corners:

1. Open the image in the **Sprite Editor** window.
2. Select the sprite and set its **Border** values to the size of the corners.
3. Select **Apply**.
4. On the sprite object, in the **SpriteRenderer** component, set **Draw Mode** to **Sliced** or **Tiled**.
5. In the **SpriteRenderer** component, set **Size**.

For how the **Sliced** and **Tiled** modes stretch and repeat the sections of a sprite, refer to [9-slicing](https://docs.unity3d.com/Manual/9SliceSprites.html) in the Unity Manual. The Unity Manual describes the Unity Editor, so its menus and windows differ from Unity Spark.

## Set the sprite draw order

Sprites draw in order of their **Sorting Layer**, then their **Order in Layer**. Higher numbers draw on top. To add a sorting layer, select **Add Sorting Layer** in the **Sorting Layer** list. To flip a sprite, use **Flip X** or **Flip Y**.

## Animate sprites

To create a sprite animation:

1. In the **Project** window, select **Create** (**+**) > **2D** > **Sprite Animation**.

   Unity Spark creates a looping animation clip and an animation controller that plays it.

2. To add frames, drag sprite slices from the **Project** window onto the clip.

For more information, refer to [Add and create animation clips](/unity-spark/create/build/animation/add-animation-clips.md).

## Additional resources

* [Paint levels with tilemaps](/unity-spark/create/build/2d/tilemaps.md)
* [2D objects and components reference](/unity-spark/create/build/2d/2d-reference.md)
* [Add files to your project](/unity-spark/create/assets/add-files.md)
* [Animation](/unity-spark/create/build/animation.md)
