GameKit.Leaderboard.GetPlayerScope
----------------------------------

Queries the player scope.

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

MBS( "GameKit.Leaderboard.GetPlayerScope"; LeaderboardIdentifier ) 

**MBS**( **"GameKit.Leaderboard.GetPlayerScope";** /\* Queries the player scope. \*/  
**$LeaderboardIdentifier**) /\* The identifier of the leaderboard. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| LeaderboardIdentifier | The identifier of the leaderboard. |  |

### Result

Returns value or error.

### Description

Queries the player scope.  
A filter used to restrict the search to a subset of the players on Game Center.  
The playerScope property is ignored if the leaderboard request was initialized using the player identifiers list. Otherwise, the playerScope property determines which players are included in the request for high scores. The default is Global.   
Value can be FriendsOnly or Global.  
### See also

- [GameKit.Leaderboard.GetTimeScope](GameKitLeaderboardGetTimeScope.md)
- [GameKit.Leaderboard.LocalPlayerScore](GameKitLeaderboardLocalPlayerScore.md)
- [GameKit.Leaderboard.SetPlayerScope](GameKitLeaderboardSetPlayerScope.md)
- [GameKit.Leaderboard.SetTimeScope](GameKitLeaderboardSetTimeScope.md)

This function is free to use.

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

  
[GameKit.Initialize](GameKitInitialize.md) - [GameKit.Leaderboard.GetRange](GameKitLeaderboardGetRange.md)

[HTML Version](GameKitLeaderboardGetPlayerScope.shtml)