# Expand

> Expands the specified node.

## Definition

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

## Expand(HierarchyNode)

Expands the specified node.

```csharp
public void Expand(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 expand.

## Expand(ReadOnlySpan\<HierarchyNode>)

Expands the specified nodes.

```csharp
public void Expand(ReadOnlySpan<HierarchyNode> nodes)
```

### Parameters

**** (\[ReadOnlySpan\<HierarchyNode>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)): The [HierarchyNode](/engine/6000.5/script-reference/unity/hierarchy/hierarchynode.md)s to expand.
