# Upload Score To Leaderboard

<figure><img src="https://3297306079-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg1K5dkF1SAyaDZJSID0b%2Fuploads%2FgSFyH1XauVJvwd7juq45%2Fimage.png?alt=media&#x26;token=bfb502f9-600e-4a1f-9a58-274a090783bd" alt=""><figcaption></figcaption></figure>

## 📄 <mark style="color:yellow;">Description</mark>

Upload/Add a score to a leaderboard by using this node. This is also for uploading time based scores. Time based scores need to be inputted into this node as milliseconds. So if you track time using a float in seconds, multiply it by 1000 and turn it into a integer and connect it to this "Score" input.

{% hint style="warning" %}
Uploading scores to Steam is rate limited to 10 uploads per 10 minutes and you may only have one outstanding call to this function at a time like at the end of a match.
{% endhint %}

{% tabs %}
{% tab title="Inputs" %}
<table><thead><tr><th width="200">Name</th><th>Description</th></tr></thead><tbody><tr><td><strong>Leaderboard ID</strong></td><td>The ID of the leaderboard you want to get data from</td></tr><tr><td><strong>Score</strong></td><td>The score which should get saved</td></tr><tr><td><a href="enums/uploadmethod"><strong>Upload Method</strong></a></td><td><p>→ Keep Best = Compares the inputted score and the current score of the user and chooses the better one to keep</p><p>→ Force Update = Forces the new score to be the inputted value</p></td></tr></tbody></table>
{% endtab %}

{% tab title="Outputs" %}
<table><thead><tr><th width="200">Name</th><th>Description</th></tr></thead><tbody><tr><td><strong>On Success</strong></td><td></td></tr><tr><td><strong>On Fail</strong></td><td></td></tr><tr><td><a href="structs/uploadresult"><strong>Result</strong></a></td><td></td></tr><tr><td><strong>Time Action Took</strong></td><td>This is the time in seconds this asynchronous action took to execute.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}
