# Overlap

> Check if the specified AABB overlaps this AABB.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

## Overlap(PhysicsAABB)

Check if the specified AABB overlaps this AABB.

```csharp
public readonly bool Overlap(PhysicsAABB aabb)
```

### Parameters

**** (\[PhysicsAABB]\(/engine/6000.7/script-reference/unity/u2d/physics/physicsaabb)): The AABB to check overlap with.

### Returns

| Type                                                          | Description                       |
| ------------------------------------------------------------- | --------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if overlapped, false if not. |

## Overlap(Vector2)

Check if the specified point overlaps this AABB.

```csharp
public readonly bool Overlap(Vector2 point)
```

### Parameters

**** (\[Vector2]\(/engine/6000.7/script-reference/unityengine/vector2)): The point to check overlap with.

### Returns

| Type                                                          | Description                       |
| ------------------------------------------------------------- | --------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if overlapped, false if not. |
