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

# searchMode

The key for selecting the number and order of contacts to be tested.

## Declaration

```swift
static let searchMode: SCNPhysicsWorld.TestOption
```

## Discussion

Discussion See Physics Test Search Modes for possible values. The default value is any. This key applies only to ray and convex sweep tests.

## See Also

### Type Properties

- [backfaceCulling](scenekit/scnphysicsworld/testoption/backfaceculling.md)
- [collisionBitMask](scenekit/scnphysicsworld/testoption/collisionbitmask.md)
- [SCNPhysicsWorld.TestSearchMode](scenekit/scnphysicsworld/testsearchmode.md)
