Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LeaderboardHandle

One board and one of its keys: what a submission, a read and an award id take. A keyed board’s comes from its for; a board with no key is its own.

Type Parameter Default type
Options extends LeaderboardOptions LeaderboardOptions
Property Modifier Type Description
board readonly string The board’s key in the declaration: its identity.
key readonly string The string the game named the board’s key by; empty for a board with no key.
options readonly Options The board as declared.
parentId readonly string The world’s id, for a board whose parent is a world; empty otherwise.