# Contains

> Is point contained in the bounding box?

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/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/6000.7/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 [\_xMin](/engine/6000.7/script-reference/unityengine/boundsint/xmin.md), [\_yMin](/engine/6000.7/script-reference/unityengine/boundsint/ymin.md) and [\_zMin](/engine/6000.7/script-reference/unityengine/boundsint/zmin.md) respectively, and less than [\_xMax](/engine/6000.7/script-reference/unityengine/boundsint/xmax.md), [\_yMax](/engine/6000.7/script-reference/unityengine/boundsint/ymax.md) and [\_zMax](/engine/6000.7/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/6000.7/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 [\_xMin](/engine/6000.7/script-reference/unityengine/boundsint/xmin.md), [\_yMin](/engine/6000.7/script-reference/unityengine/boundsint/ymin.md) and [\_zMin](/engine/6000.7/script-reference/unityengine/boundsint/zmin.md) respectively, and less than [\_xMax](/engine/6000.7/script-reference/unityengine/boundsint/xmax.md), [\_yMax](/engine/6000.7/script-reference/unityengine/boundsint/ymax.md) and [\_zMax](/engine/6000.7/script-reference/unityengine/boundsint/zmax.md) respectively.
