GameKit.Score.GetShouldSetDefaultLeaderboard
--------------------------------------------

Queries whether this score should update default leaderboard.

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

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

**MBS**( **"GameKit.Score.GetShouldSetDefaultLeaderboard";** /\* Queries whether this score should update default leaderboard. \*/  
**$ScoreIdentifier**) /\* The identifier for the score object. \*/ 

### Parameters

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

### Result

Returns 1, 0 or error.

### Description

Queries whether this score should update default leaderboard.  
A Boolean value that indicates whether this score should also update the default leaderboard.  
  
If the value of this property is true, when the score is reported to Game Center, Game Center also updates the local player’s default leaderboard to match the value stored in the leaderboardIdentifier property of the score object.   
If the value of this property is false, the default leaderboard is not changed by reporting the score. The default value of this property is false.  
### See also

- [GameKit.Score.SetShouldSetDefaultLeaderboard](GameKitScoreSetShouldSetDefaultLeaderboard.md)

This function is free to use.

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

  
[GameKit.Score.GetContext](GameKitScoreGetContext.md) - [GameKit.Score.GetValue](GameKitScoreGetValue.md)

[HTML Version](GameKitScoreGetShouldSetDefaultLeaderboard.shtml)