---
title: supportsPartyCode
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkgameactivitydefinition/supportspartycode
---

# supportsPartyCode

Whether the activity can be joined by others via a party code.

## Declaration

```swift
var supportsPartyCode: Bool { get }
```

## Discussion

Discussion note: -[GKGameActivityListener player:wantsToPlayGameActivity:completionHandler:] where you can receive and handle game activities that players want to play in a party with friends.

## See Also

### Getting the activity capabilities

- [supportsUnlimitedPlayers](gamekit/gkgameactivitydefinition/supportsunlimitedplayers.md)
- [playerRange](gamekit/gkgameactivitydefinition/playerrange.md)
- [playStyle](gamekit/gkgameactivitydefinition/playstyle.md)
- [GKGameActivityPlayStyle](gamekit/gkgameactivityplaystyle.md)
