---
title: Unity Spark fundamentals
product: Unity Spark
canonical: https://docs.unity.com/en-us/unity-spark/intro/concepts
last_updated: 2026-12-01
generated_at: 2026-12-01T21:03:23.392Z
locale: en-us
---

# Unity Spark fundamentals

> Learn the building blocks of a Unity Spark game, such as projects, scenes, objects, components, assets, and scripts, and how Edit mode and Play mode work.

Every Unity Spark game uses the same few building blocks. You don't need to know them to start, because the [AI assistant](/unity-spark/create/assistant/about-assistant.md) handles most of the details for you. Knowing them helps you describe what you want and understand what the assistant creates.

## Projects

A project is your game. It holds everything your game uses: its scenes, assets, and scripts. Unity Spark saves your project for you, so there are no files or folders on your computer to manage. Some messages in Unity Spark call a project a draft.

## Scenes

A scene is one place in your game, such as a main menu, a level, or a game-over screen. A small game can fit in a single scene. A new project starts with one scene that already has a character you can play. For more information, refer to [Introduction to scenes](/unity-spark/create/build/scenes/work-with-scenes/about-scenes.md).

## Objects

Everything in a scene is an object: the player, the ground, a light, a camera, a coin, or a button on the screen. The [Hierarchy window](/unity-spark/create/build/objects-prefabs/hierarchy-window-reference.md) lists the objects in the open scene.

An object can contain other objects. The object inside is a child, and the object that contains it is its parent. A child moves, turns, and grows or shrinks with its parent, so a sword that's a child of the player moves with the player. For more information, refer to [Introduction to objects and prefabs](/unity-spark/create/build/objects-prefabs/objects-prefabs-concepts.md).

## Components

Components decide an object's appearance and what it does. An object is like an empty container, and you add components to give it abilities. The following table lists some common components.

| **Component**                        | **What it gives the object**                                             |
| :----------------------------------- | :----------------------------------------------------------------------- |
| **Transform**                        | A position, a rotation, and a size in the scene. Every object has one.   |
| A renderer, such as **MeshRenderer** | A visible shape, so the object appears in the scene.                     |
| A collider, such as **BoxCollider**  | A solid shape, so other objects bump into it instead of passing through. |
| **Rigidbody**                        | Physics, so the object falls and other objects can push it.              |
| **Light** or **Camera**              | Light for the scene, or a view of the scene for the player.              |
| A script                             | Your own behavior, such as collecting a coin or opening a door.          |

For more information, refer to [Introduction to components, tags, and layers](/unity-spark/create/build/components/about-components.md).

## Assets

Assets are the files your game uses, such as 3D models, images, sounds, animations, and scripts. Assets also include the following:

* Materials, which decide a surface's appearance, such as shiny metal or rough wood.
* Prefabs, which are objects you save so you can place copies of them many times, such as a coin or an enemy.

You can find free assets in the Unity Spark library, generate new ones with AI, or import your own files. The assistant can also search the library for you, suggest assets, and let you pick the ones to import. In **Agent** mode with **No questions asked** enabled, the assistant imports the assets it suggests without asking. The assistant skips assets that need you to accept new Asset Store terms. For more information, refer to [Assets](/unity-spark/create/assets.md).

## Scripts

A script is a set of instructions that tells an object what to do. For example, a coin can have a script on it that detects when the player touches it, adds one to the score, and removes the coin from the scene. You add a script to an object as a component.

You don't need to write scripts yourself, because the assistant writes them for you. Unity Spark scripts use Luau, a programming language based on Lua. You can also read and change scripts yourself. Scripts run as soon as you start your game, so there's nothing to build or wait for first. If a script has a problem, the [Console window](/unity-spark/create/test-debug/console-window-reference.md) shows the error, and the assistant can read it to fix the script. For more information, refer to [Scripts](/unity-spark/create/build/scripts.md).

## Edit mode and Play mode

Unity Spark has the following modes:

* Edit mode is where you create. You add and change objects, components, and settings.
* Play mode runs your game inside Unity Spark, so you can try it as a player.

To enter Play mode, select **Play** in the toolbar. To return to Edit mode, select **Stop**.

When you stop playing, Unity Spark resets anything that happened in the game while it ran, and any values you changed in the **Inspector** window while playing. Objects and components that you add or delete while playing don't reset. They stay added or deleted after you stop the game, so stop the game before you add or delete anything.

> **Note:**
>
> If you have used the Unity Editor, Unity Spark works differently. Scripts use Luau instead of C#, and the full Unity Engine API isn't available. For more information, refer to [Limitations of Unity Spark](/unity-spark/intro/limitations.md).

## Additional resources

* [Introduction to Unity Spark](/unity-spark/intro/intro.md)
* [Create your first game](/unity-spark/intro/get-started.md)
* [Unity Spark user interface](/unity-spark/create/workspace/ui.md)
* [Scenes](/unity-spark/create/build/scenes.md)
