---
title: playerId
framework: gameplaykit
role: symbol
role_heading: Instance Property
path: gameplaykit/gkgamemodelplayer/playerid
---

# playerId

A number uniquely identifying the player.

## Declaration

```swift
var playerId: Int { get }
```

## Discussion

Discussion For more information, see GameplayKit Programming Guide.
