# this[]

> Gets the child at the specified index.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Hierarchy](/engine/6000.5/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyCoreModule

## this\[int]

> **Warning:**
>
> **Deprecated.** HierarchyFlattenedNodeChildren is obsolete. It has been replaced by HierarchyFlattenedChildrenEnumerable.

```csharp
public ref readonly HierarchyFlattenedNode this[int index] { get; }
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The children index.

### Returns

| Type                                                                                                | Description               |
| --------------------------------------------------------------------------------------------------- | ------------------------- |
| [HierarchyFlattenedNode](/engine/6000.5/script-reference/unity/hierarchy/hierarchyflattenednode.md) | The child hierarchy node. |
