---
title: stopBrowsingForNearbyPlayers()
framework: gamekit
role: symbol
role_heading: Instance Method
path: gamekit/gkmatchmaker/stopbrowsingfornearbyplayers()
---

# stopBrowsingForNearbyPlayers()

Stops finding nearby players.

## Declaration

```swift
func stopBrowsingForNearbyPlayers()
```

## Discussion

Discussion If you use the startBrowsingForNearbyPlayers(handler:) method to find nearby players, call this method when you are done.

## See Also

### Looking for nearby players

- [startBrowsingForNearbyPlayers(handler:)](gamekit/gkmatchmaker/startbrowsingfornearbyplayers(handler:).md)
