Skip to content

Score

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

Contains information about a score posted to a scoreboard.

Type declaration

MemberTypeDescription
formatted_valuestringThe score value in the format selected in your scoreboard settings.
tagstringThe tag attached to this score (if any).
userUser | nullThe user who earned score. If this property is absent, the score belongs to the active user.
valuenumberThe integer value of the score.

Source

newgrounds.d.ts:124