# GetChildrenIds(int)

> Get all children of a specific ID in the tree.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public virtual IEnumerable<int> GetChildrenIds(int id)
```

### Parameters

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

### Returns

| Type                                                                                                 | Description       |
| ---------------------------------------------------------------------------------------------------- | ----------------- |
| [IEnumerable\<int>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | The children IDs. |
