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

LeaderboardOneFieldOptions

A board that ranks on one number, declared inline.

Property Modifier Type Description
max? readonly number The highest value a score may have, checked at submission.
min? readonly number The lowest value a score may have, checked at submission.
score? readonly undefined -
sortOrder readonly "ascending" | "descending" -
unit? readonly "points" | "count" | "seconds" | "milliseconds" What the field counts, for display.