---
title: closest
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scnphysicsworld/testsearchmode/closest
---

# closest

Searches should return only the closest contact to the beginning of the search.

## Declaration

```swift
static let closest: SCNPhysicsWorld.TestSearchMode
```

## See Also

### Type Properties

- [all](scenekit/scnphysicsworld/testsearchmode/all.md)
- [any](scenekit/scnphysicsworld/testsearchmode/any.md)
