# Frame

> Frames the specified node, expanding its ancestors and scrolling to it.

## Definition

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

## Frame(HierarchyNode)

Frames the specified node, expanding its ancestors and scrolling to it.

```csharp
public void Frame(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 frame.

## Frame(ReadOnlySpan\<HierarchyNode>)

Frames the specified nodes, expanding their ancestors and scrolling to the first node.

```csharp
public void Frame(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 frame.
