# Prefabs

**Prefabs** are **Objects** that are composed of a combination of **Objects**. They allow the user to create multiple individual **Instances** of this combination and then make changes that are enacted across all of them. Each **Instance** can also retain unique properties via overrides, thus allowing one to create several **Objects** with the same functionality but different characteristics. Moreover, **Prefabs** have their own **Logic** encapsulated within them.

There are two types of **Prefabs**, those available in **Scenes** and those available in **Scene2Ds**. They both can only encapsulate the **Objects** present in their respective **Scene** type.

The first section shows how to create and use **Prefabs** in both **Scenes** and **Scene2Ds**. **Prefabs** in **Scene2Ds** are treated as **Frames**, but with the properties of a **Prefab**. The second section gives more details about the **Logic** of **Prefabs** and the third section describes **Nested Prefabs**. On the surface, **Prefabs** in **Scene2Ds** essentially work the same as **Prefabs** in **Scenes** so they follow the same procedures highlighted in the latter two sections.

## Contents

* [**Creating and Using Prefabs**](/incari-studio/2023.1/objects-and-types/prefabs/creatingandusingprefabs.md)
  * [**Prefabs in Scene2Ds**](/incari-studio/2023.1/objects-and-types/prefabs/creatingandusingprefabs/2d.md)
  * [**Prefabs in Scenes**](/incari-studio/2023.1/objects-and-types/prefabs/creatingandusingprefabs/3d.md)
* [**Logic in Prefabs**](/incari-studio/2023.1/objects-and-types/prefabs/logic-prefabs.md)
* [**Nested Prefabs**](/incari-studio/2023.1/objects-and-types/prefabs/nested-prefabs.md)

## See Also

* [**Prefabs Demo Project**](/incari-studio/2023.1/demo-projects/prefabs-demo.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2023.1/objects-and-types/prefabs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
