---
title: playerGroup
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkmatchrequest/playergroup
---

# playerGroup

A number identifying a subset of players invited to join a match.

## Declaration

```swift
var playerGroup: Int { get set }
```

## Mentioned in

Creating matchmaking rules for backward compatibility Finding players using matchmaking rules Starting turn-based matches and passing turns between players

## Discussion

Discussion Game Center only finds players whose GKMatchRequest objects share the same playerGroup value. For example, use the playerGroup property to create matches based on skill level, game modes, or other common interests. The default value of this property is 1.

## See Also

### Matching specific players

- [playerAttributes](gamekit/gkmatchrequest/playerattributes.md)
