# Text templating

When you're using text, you can include information about the game using variables.

Here are un example:  `Fantastic! You have reached {{score}} points!!`&#x20;

{% hint style="info" %}
The text is translated as soon as it's loaded when starting a new level.\
That means if you show {{score}} and after that the game assign more points, the text won't be updated.
{% endhint %}

Here is a list of the available variables:

* `{{score}}` : Shows the current score
* `{{visitedLevels}}` \
  List of visited levels:\
  ![](https://1618304434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTBDwg85v5p9Ru3nmGF1a%2Fuploads%2FkUnB3jqPFcTshtP9FOuC%2FCleanShot%202024-10-17%20at%2023.38.09.png?alt=media\&token=575c403a-d6c8-4350-80cf-119ab6e5b2e4)
* `{{time}}`\
  &#x20;Elapsed time in seconds since the countdown started
* `{{timeLeft}}`\
  Time left of the countdown in seconds
* `{{formattedTime}}`\
  Elapsed time in seconds since the countdown started in format `hh:mm`
* `{{formattedTimeLeft}}`\
  Time left of the countdown in seconds in format `hh:mm`
