# IsCollapsed(in HierarchyNode)

> Determines if the specified node is collapsed.

## Definition

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

## IsCollapsed(HierarchyNode)

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

### Parameters

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

### Returns

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