GameKit.Score.Player
--------------------

Queries the player identifier for the player that earned the score.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GameKit](component_GameKit.md) | [8.5](newinversion85.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "GameKit.Score.Player"; ScoreIdentifier ) 

**MBS**( **"GameKit.Score.Player";** /\* Queries the player identifier for the player that earned the score. \*/  
**$ScoreIdentifier**) /\* The identifier for the score object. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ScoreIdentifier | The identifier for the score object. |  |

### Result

Returns player identifier or error.

### Description

Queries the player identifier for the player that earned the score.  
When you initialize a new score object, the player property is set to the identifier for the local player. If the score object was returned to your game by loading scores from Game Center, the player property identifies the player who recorded that score.  
### See also

- [GameKit.LocalPlayer](GameKitLocalPlayer.md)
- [GameKit.Score.Date](GameKitScoreDate.md)
- [GameKit.Score.New](GameKitScoreNew.md)
- [GameKit.Score.Rank](GameKitScoreRank.md)

This function is free to use.

Created 5th November 2018 , last changed 8th November 2018

  
[GameKit.Score.New](GameKitScoreNew.md) - [GameKit.Score.Rank](GameKitScoreRank.md)

[HTML Version](GameKitScorePlayer.shtml)