---
title: "contains(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/boundingbox/contains(_:)-5ux4h"
---

# contains(_:)

Checks whether the bounding box contains the specified bounds.

## Declaration

```swift
func contains(_ boundingBox: BoundingBox) -> Bool
```

## Return Value

Return Value A Boolean that’s true if the box contains the specified bounds.

## See Also

### Checking for overlap

- [contains(_:)](realitykit/boundingbox/contains(_:)-92ap6.md)
- [intersects(_:)](realitykit/boundingbox/intersects(_:).md)
