# GetNodeType(in HierarchyNode)

> Gets the hierarchy node type for the specified node.

## Definition

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

## GetNodeType(HierarchyNode)

```csharp
public HierarchyNodeType GetNodeType(in HierarchyNode node)
```

### Parameters

**** (\[HierarchyNode]\(/engine/6000.7/script-reference/unity/hierarchy/hierarchynode)): The hierarchy node to get the type for.

### Returns

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