---
title: "Instance"
description: "The base hierarchy class shared by Glorpia objects that appear in the instance tree."
canonical: "https://docs.glorpia.com/instances/instance"
markdown: "https://docs.glorpia.com/instances/instance.md"
---
# Instance

The base hierarchy class shared by Glorpia objects that appear in the instance tree.

**Category:** Instances / Base class

## Properties

| Name | Type | Description |
| --- | --- | --- |
| `Name` | string | The instance name used in Explorer and hierarchy lookup. |
| `ClassName` | string | The concrete class name of the instance. |
| `Parent` | Instance or nil | The instance that contains this object in the hierarchy. |

## Hierarchy methods

| Name | Type | Description |
| --- | --- | --- |
| `FindFirstChild(name, recursive?)` | method | Finds a child by name, optionally searching descendants. |
| `WaitForChild(name, timeout?)` | method | Waits for a named child and returns it when available. |
| `FindFirstChildOfClass(className)` | method | Finds the first direct child with the exact ClassName. |
| `FindFirstChildWhichIsA(className, recursive?)` | method | Finds the first child compatible with a class, optionally recursively. |
| `Clone()` | method | Creates a copy of the instance and its supported descendants. |
| `GetChildren()` | method | Returns direct children. |
| `GetDescendants()` | method | Returns descendants recursively. |
| `IsA(className)` | method | Checks whether the instance is compatible with a class name. |
| `GetFullName()` | method | Returns the hierarchy path for the instance. |
| `Destroy()` | method | Removes the instance and its descendants from the hierarchy. |

> **Note:** Concrete classes add their own properties, methods and events on top of this shared hierarchy API.

Any existing Instance can contain other Instances. This includes classes such as Camera, Humanoid, Player, BasePart and ValueBase descendants; parenting is not limited to Model and Folder containers.

> **Note:** Rendering and world physics are based on ancestry rather than the immediate parent class. A Part at any depth below Workspace is part of the rendered world. A Part stored below Players, Lighting or ReplicatedStorage is replicated as hierarchy data but is not rendered or simulated until it becomes a Workspace descendant.

## Class reference

- [BasePart](https://docs.glorpia.com/instances/basepart.md) — Shared physical and rendered part behavior.
- [Model](https://docs.glorpia.com/instances/model.md) — Groups instances and exposes pivot controls.
- [Folder](https://docs.glorpia.com/instances/folder.md) — Hierarchy container.
- [ValueBase](https://docs.glorpia.com/instances/valuebase.md) — Base class for hierarchy value objects.
