Skip to content

Score

Score = { formatted_value: string; tag: string; user: User | null; value: number; }

Defined in: newgrounds.d.ts:124

Contains information about a score posted to a scoreboard.

Property Type Description Defined in
formatted_value string The score value in the format selected in your scoreboard settings. newgrounds.d.ts:126
tag string The tag attached to this score (if any). newgrounds.d.ts:128
user User | null The user who earned score. If this property is absent, the score belongs to the active user. newgrounds.d.ts:130
value number The integer value of the score. newgrounds.d.ts:132