event.previousGlobalRank

Type Number
Event setHighScore
Revision Release 2024.3703
Keywords steam, steamworks, leaderboard, setHighScore, previousGlobalRank
See also setHighScore
steamworks.*

Overview

Returns an integer indicating the user’s previous global rank on the leaderboard after a call to the steamworks.requestSetHighScore() has successfully changed the user’s score.

Returns nil if the event.scoreChanged property is false, indicating that the user’s score and rank has not changed.