# Overlaps(Rect)

> Determines whether the specified rect overlaps the Scope.

## Definition

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

```csharp
public override bool Overlaps(Rect rectangle)
```

### Parameters

**** (\[Rect]\(/engine/6000.5/script-reference/unityengine/rect)): The rect.

### Returns

| Type                                                          | Description                                              |
| ------------------------------------------------------------- | -------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true when the specified rect overlaps the Scope. |
