# Contains

> Is point contained in the bounding box?

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## Contains(Vector3Int)

Is `point` contained in the bounding box?

```csharp
public bool Contains(Vector3Int position)
```

### Parameters

**** (\[Vector3Int]\(/engine/7000.0/script-reference/unityengine/vector3int)): Point to check.

### Returns

| Type                                                          | Description                               |
| ------------------------------------------------------------- | ----------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Is `point` contained in the bounding box? |

### Remarks

A point is contained in the bounding box if its x, y and z components are greater or equal to [BoundsInt.xMin](/engine/7000.0/script-reference/unityengine/boundsint/xmin.md), [BoundsInt.yMin](/engine/7000.0/script-reference/unityengine/boundsint/ymin.md) and [BoundsInt.zMin](/engine/7000.0/script-reference/unityengine/boundsint/zmin.md) respectively, and less than [BoundsInt.xMax](/engine/7000.0/script-reference/unityengine/boundsint/xmax.md), [BoundsInt.yMax](/engine/7000.0/script-reference/unityengine/boundsint/ymax.md) and [BoundsInt.zMax](/engine/7000.0/script-reference/unityengine/boundsint/zmax.md) respectively.

## Contains(Vector3Int)

Is `point` contained in the bounding box?

```csharp
public bool Contains(in Vector3Int position)
```

### Parameters

**** (\[Vector3Int]\(/engine/7000.0/script-reference/unityengine/vector3int)): Point to check.

### Returns

| Type                                                          | Description                               |
| ------------------------------------------------------------- | ----------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Is `point` contained in the bounding box? |

### Remarks

A point is contained in the bounding box if its x, y and z components are greater or equal to [BoundsInt.xMin](/engine/7000.0/script-reference/unityengine/boundsint/xmin.md), [BoundsInt.yMin](/engine/7000.0/script-reference/unityengine/boundsint/ymin.md) and [BoundsInt.zMin](/engine/7000.0/script-reference/unityengine/boundsint/zmin.md) respectively, and less than [BoundsInt.xMax](/engine/7000.0/script-reference/unityengine/boundsint/xmax.md), [BoundsInt.yMax](/engine/7000.0/script-reference/unityengine/boundsint/ymax.md) and [BoundsInt.zMax](/engine/7000.0/script-reference/unityengine/boundsint/zmax.md) respectively.
