# HierarchyFlattenedChildrenEnumerable.Enumerator

> An enumerator of HierarchyNode.

## Definition

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

```csharp
public struct HierarchyFlattenedChildrenEnumerable.Enumerator
```

## Properties

| Property                                                                                                              | Description                            |
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
| [Current](/engine/6000.6/script-reference/unity/hierarchy/hierarchyflattenedchildrenenumerable/enumerator/current.md) | Get the current item being enumerated. |

## Methods

| Method                                                                                                                  | Description                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [MoveNext](/engine/6000.6/script-reference/unity/hierarchy/hierarchyflattenedchildrenenumerable/enumerator/movenext.md) | Advances the enumerator to the next element of the collection.                                    |
| [Reset](/engine/6000.6/script-reference/unity/hierarchy/hierarchyflattenedchildrenenumerable/enumerator/reset.md)       | Sets the enumerator to its initial position, which is before the first element in the collection. |
