# GetNodeType()

> Retrieves the hierarchy node type for this hierarchy node type handler.

## Definition

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

```csharp
public HierarchyNodeType GetNodeType()
```

### Returns

| Type                                                                                      | Description                     |
| ----------------------------------------------------------------------------------------- | ------------------------------- |
| [HierarchyNodeType](/engine/6000.7/script-reference/unity/hierarchy/hierarchynodetype.md) | The type of the hierarchy node. |
