# Contains(PhysicsAABB)

> Checks if the AABB contains (completely encapsulates) the specified AABB.

## Definition

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

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

### Parameters

**** (\[PhysicsAABB]\(/engine/6000.5/script-reference/unity/u2d/physics/physicsaabb)): The AABB to check being contained by this AABB.

### Returns

| Type                                                          | Description                                                         |
| ------------------------------------------------------------- | ------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the specified AABB is contained by this AABB. False if not. |
