---
title: Set up a 2D game
product: Unity Spark
canonical: https://docs.unity.com/en-us/unity-spark/create/build/2d/set-up-2d
last_updated: 2026-12-01
generated_at: 2026-12-01T21:12:27.103Z
locale: en-us
---

# Set up a 2D game

> Start a 2D game with the assistant, or set the game camera and Scene view to 2D yourself.

Set up a 2D game so that the [AI assistant](/unity-spark/create/assistant/about-assistant.md) creates your game in 2D and your scene shows a flat, head-on view. You can let the assistant set up the game, record the choice yourself in the [Game Design window](/unity-spark/create/assistant/game-design/game-design-window-reference.md), or configure the game camera and the **Scene** view yourself.

For background on how 2D mode works, refer to [Introduction to 2D games in Unity Spark](/unity-spark/create/build/2d/about-2d.md).

## Start a 2D game with the assistant

Mention `2D` in your first message, for example, `Make a 2D platformer where a fox collects gems.` The assistant records the choice and creates the game in 2D from the start. For what happens when you don't specify, refer to [2D or 3D choice for a new game](/unity-spark/create/build/2d/about-2d.md#2d-or-3d-choice-for-a-new-game).

## Record the 2D choice in the Game Design window

Record the choice yourself if you didn't mention 2D in your first message. Every conversation reads the game design, so the assistant creates new content in 2D, and you don't need to mention 2D in each prompt. If your scene already has 3D objects, the assistant keeps using 3D in that scene. You can also ask the assistant to change the choice for you.

To record the choice yourself:

1. Open the **Game Design** window.
2. Select **Edit game design** (pencil icon).
3. Under **2D or 3D**, select **2D**.
4. Select **Save**.

## Set up a scene for 2D yourself

Set the game camera and the **Scene** view to 2D. They're independent settings. For what each one controls, refer to [The game camera and the Scene view](/unity-spark/create/build/2d/about-2d.md#the-game-camera-and-the-scene-view).

### Set the game camera to 2D

To set the game camera to 2D:

1. Select the camera.
2. In the [Inspector window](/unity-spark/create/build/components/inspector-window-reference.md), set **Render Mode** to **2D**.

The **Projection** automatically changes to **Orthographic**, and the **Size** option appears so you can set how much of the world fits on screen.

### Set the Scene view to 2D

To change the [Scene view](/unity-spark/create/build/scenes/scene-view/scene-window-reference.md) to 2D, select **2D** in the **Scene** view's toolbar. The view faces the scene head-on and can't rotate. Scroll to zoom. To pan, drag with the middle mouse button, or hold **Ctrl**+**Alt** (macOS: **Cmd**+**Option**) and drag. Objects move only up, down, left, and right.

To return to the 3D view, select **3D**. Unity Spark remembers the view for each scene on this device.

## Additional resources

* [Introduction to 2D games in Unity Spark](/unity-spark/create/build/2d/about-2d.md)
* [Add and edit sprites](/unity-spark/create/build/2d/sprites.md)
* [Paint levels with tilemaps](/unity-spark/create/build/2d/tilemaps.md)
* [Add 2D physics to objects](/unity-spark/create/build/2d/physics-2d.md)
* [Scene view](/unity-spark/create/build/scenes/scene-view.md)
