---
title: boundingBoxOnly
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scnhittestoption/boundingboxonly
---

# boundingBoxOnly

An option to search for objects by bounding box only.

## Declaration

```swift
static let boundingBoxOnly: SCNHitTestOption
```

## Discussion

Discussion The value for this key is an NSNumber object containing a Boolean value. The default value is false, specifying that hit-testing searches should test against node geometry. Specifying true for this option increases search performance at the expense of geometric accuracy.

## See Also

### Options

- [backFaceCulling](scenekit/scnhittestoption/backfaceculling.md)
- [categoryBitMask](scenekit/scnhittestoption/categorybitmask.md)
- [clipToZRange](scenekit/scnhittestoption/cliptozrange.md)
- [ignoreChildNodes](scenekit/scnhittestoption/ignorechildnodes.md)
- [ignoreHiddenNodes](scenekit/scnhittestoption/ignorehiddennodes.md)
- [rootNode](scenekit/scnhittestoption/rootnode.md)
- [searchMode](scenekit/scnhittestoption/searchmode.md)
- [SCNHitTestSearchMode](scenekit/scnhittestsearchmode.md)
