# Visual Scripting

## Triggers

#### On Leaderboard Updated

This is triggered when the specific leaderboard has been updated

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

## Instructions

#### Add Score

This will add up to the current score of the player

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

#### Get Member Rank

Use this to get the rank and score for an specific player

<figure><img src="/files/7fzNbgCe6su3d7syvv9c" alt=""><figcaption></figcaption></figure>

#### Submit Score

Use this to submit a score to a leaderboard

<figure><img src="/files/BPo8MZpRCPoASF2qCxnR" 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://docs.ninjutsugames.com/game-creator-2/loot-locker/leaderboards/visual-scripting.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.
