# Find or Create Leaderboard

{% hint style="success" %}

#### Like what you're seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

Gets a leaderboard by name. The resulting ID will be valid for the duration of the game session, you should in general cash this value early and use it for future operations against the board.

### API Name

The name of the board to find or create

### Sort Method

How should the board be sorted

* Ascending\
  The top-rank is the lowest score value.
* Descending\
  The top-rank is the highest score value.

### Display Type

The display type used by the Steam Community website to know how to format the leaderboard scores when displayed.

* Numeric\
  The score is just a simple numerical value.
* Time Seconds\
  The score represents a time, in seconds.
* Time Milliseconds\
  The score represents a time, in milliseconds.

### Callback

An event that will be called when complete and contains the board ID.

## Nodes

<figure><img src="/files/gP4kJ1yqvxvjxA7SyMoK" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unreal/blueprint-nodes/functions/find-or-create-leaderboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
