Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

GameKit.Score.Rank

Queries position of the score in the results of a leaderboard search.

Component Version macOS Windows Linux Server iOS SDK
GameKit 8.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "GameKit.Score.Rank"; ScoreIdentifier )   More

Parameters

Parameter Description Example
ScoreIdentifier The identifier for the score object.

Result

Returns number or error.

Description

Queries position of the score in the results of a leaderboard search.
The value of this property is only valid on score objects returned from Game Center. The rank property represents the position of the score in the returned results, with 1 being the best score, 2 being the second best, and so on.

See also

This function is free to use.

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


GameKit.Score.Player - GameKit.Score.SetContext