---
title: activePlayer
framework: gameplaykit
role: symbol
role_heading: Instance Property
path: gameplaykit/gkgamemodel/activeplayer
---

# activePlayer

The player whose turn it currently is in the game.

## Declaration

```swift
var activePlayer: (any GKGameModelPlayer)? { get }
```

## Discussion

Discussion This player is responsible for the next move. GameplayKit assumes that the next call to the apply(_:) method will perform a move on behalf of this player.

## See Also

### Keeping Track of Players

- [players](gameplaykit/gkgamemodel/players.md)
