# Frame(Bounds, bool)

> Frames the given bounds in the Scene view.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool Frame(Bounds bounds, bool instant = true)
```

### Parameters

**** (\[Bounds]\(/engine/6000.5/script-reference/unityengine/bounds)): The bounds to frame in the Scene view.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Set to true to immediately frame the camera. Set to false to animate the action.

### Returns

| Type                                                          | Description                                                                                     |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the given bounds can be encompassed in the Scene view. Returns false otherwise. |
