# IsExpanded(in HierarchyNode)

> Determines if the specified node is expanded.

## Definition

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

## IsExpanded(HierarchyNode)

```csharp
public bool IsExpanded(in HierarchyNode node)
```

### Parameters

**** (\[HierarchyNode]\(/engine/6000.5/script-reference/unity/hierarchy/hierarchynode)): The [HierarchyNode](/engine/6000.5/script-reference/unity/hierarchy/hierarchynode.md) to check if it is expanded.

### Returns

| Type                                                          | Description                                                  |
| ------------------------------------------------------------- | ------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if the specified node is expanded, `false` otherwise. |
