> For the complete documentation index, see [llms.txt](https://developers.brickverse.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.brickverse.gg/game-api/classes/datatype/instance.md).

# Instance

{% hint style="warning" %}
**NotCreatable**

This object cannot be created with the [`Instance.new`](broken://pages/N8HYF3qH4Rt1G5EZKSLY) constructor function.
{% endhint %}

Instance is the base class for all classes in the BrickVerse class hierarchy. Every other class that the BrickVerse engine defines inherits all of the members of Instance. It is not possible to directly create Instance objects.

Instance has a special function called `Instance.new` which is used to create objects via code. This function takes the name of the class as a parameter and returns the created object. Abstract classes and services cannot be created with the `Instance.new` function.

Inherited from [Dynamic](https://developers.brickverse.gg/game-api/classes/dymanic) Set


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://developers.brickverse.gg/game-api/classes/datatype/instance.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.
