---
title: searchMode
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scnhittestoption/searchmode
---

# searchMode

An option for the number and order of hit test results to provide.

## Declaration

```swift
static let searchMode: SCNHitTestOption
```

## Discussion

Discussion The value for this key is an NSNumber object containing the raw integer value of an SCNHitTestSearchMode constant.

## See Also

### Options

- [backFaceCulling](scenekit/scnhittestoption/backfaceculling.md)
- [boundingBoxOnly](scenekit/scnhittestoption/boundingboxonly.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)
- [SCNHitTestSearchMode](scenekit/scnhittestsearchmode.md)
