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

# union(_:)

Creates a bounding box containing the current bounds and the specified bounds.

## Declaration

```swift
func union(_ other: BoundingBox) -> BoundingBox
```

## Parameters

- `other`: Another bounding box.

## Return Value

Return Value The new bounding box.
