# XP and Level Up

### Global XP levels

Builders can change the amount of XP required for players to advance to the next level. This is done on globally that changes the level up settings for every room within a world.

<div><figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2FJYT4psO8GEw9w7327g5s%2Flevels.png?alt=media&#x26;token=20246a1d-8089-4377-b559-7138390a8ab0" alt=""><figcaption><p>Edit experience levels</p></figcaption></figure> <figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2FKWq6ruLlx9OpkVKlTwbq%2Fglobal%20menu.png?alt=media&#x26;token=d89450a3-c247-4483-ba49-18d4b8e252a9" alt=""><figcaption><p>Experience levels menu</p></figcaption></figure></div>

### Add XP to interactions

Like sounds, XP can be added to almost any interaction. To add XP to an interaction, open the objects interaction menu (highlighted in blue) and click ‘Experience’. This opens the experience screen.

<figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2FtVbucaRP1yE1VPETSx0P%2Fedit%20xp.png?alt=media&#x26;token=0b561b2a-7328-4c04-be60-54f06ef68ff1" alt=""><figcaption><p>Add to or edit XP of an interaction</p></figcaption></figure>

The XP screen has a few options:

* **Gain points** How much XP should be given when a player starts the interaction.
* **How often?** The player gets the XP only once, periodically or always.

### Add XP to a dialogue

Builders can also add XP to a dialogue branche. When a player advances in the dialogue, they can get XP rewards in the process. A builder simply adds a ‘Give XP’ block inbetween the dialogue. The settings there, are the same as for a regular XP add.

Here’s an example of how to add XP in a dialogue branche.

<figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2FCNHLb2HYGX6CIupjjiS2%2Fdialogue%20xp.gif?alt=media&#x26;token=902d9005-4602-4d7b-b8fb-81432b89adbe" alt=""><figcaption><p>Add XP inside a dialogue branche</p></figcaption></figure>

### Leaderboards

XP levels are kept up by a leaderboard. Here any player can view the top 10 players of a world.

<figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2F8p8mYMilxFbCpNhiZDkB%2FLeaderboards.png?alt=media&#x26;token=5c909a49-3f48-4925-889c-8a04c9c202cc" alt=""><figcaption><p>Leaderboard example</p></figcaption></figure>

#### XP and Level up stats

Players can view their individually gained XP and XP level in the ‘Stats section’ of the ‘Pick player’ screen.

<figure><img src="https://107867006-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdnMYfhsZ5GJTgbm1KIe7%2Fuploads%2FUKD5K73Fgw454PxWt1hI%2FPlayer%20xp.%20and%20levels.png?alt=media&#x26;token=ffb840a3-cf1d-46c5-ab14-1bc925434f13" alt=""><figcaption><p>Player stats screen</p></figcaption></figure>
