GameKit.Leaderboard.SetPlayerScope
----------------------------------

Sets 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.SetPlayerScope"; LeaderboardIdentifier; Value ) 

**MBS**( **"GameKit.Leaderboard.SetPlayerScope";** /\* Sets the player scope. \*/  
**$LeaderboardIdentifier**; /\* The identifier of the leaderboard. \*/   
**$Value**) /\* The new scope value.  
Can be Global or FriendsOnly.e.g. "global" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| LeaderboardIdentifier | The identifier of the leaderboard. |  |
| Value | The new scope value.   Can be Global or FriendsOnly. | "global" |

### Result

Returns OK or error.

### Description

Sets the player scope.  
### See also

- [GameKit.Leaderboard.GetPlayerScope](GameKitLeaderboardGetPlayerScope.md)
- [GameKit.Leaderboard.GetTimeScope](GameKitLeaderboardGetTimeScope.md)
- [GameKit.Leaderboard.LocalPlayerScore](GameKitLeaderboardLocalPlayerScore.md)
- [GameKit.Leaderboard.SetTimeScope](GameKitLeaderboardSetTimeScope.md)

This function is free to use.

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

  
[GameKit.Leaderboard.Scores](GameKitLeaderboardScores.md) - [GameKit.Leaderboard.SetRange](GameKitLeaderboardSetRange.md)

[HTML Version](GameKitLeaderboardSetPlayerScope.shtml)