# GetDirectChildrenEnumerator()

> Returns an enumerator that allows you to iterate over all direct children of this transform handle.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public TransformHandle.DirectChildrenEnumerator GetDirectChildrenEnumerator()
```

### Returns

| Type                                                                                                                | Description                                                                                 |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [DirectChildrenEnumerator](/engine/6000.6/script-reference/unityengine/transformhandle/directchildrenenumerator.md) | An enumerator that allows you to iterate over all direct children of this transform handle. |
