> For the complete documentation index, see [llms.txt](https://adaptivehud.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adaptivehud.gitbook.io/docs/getting-started/variables.md).

# Variables

Syntax: `{<variable_name> [flags] [<attributes>]}`

## Variable Name

The variable name is the name of the variable, for example `fps`, `x` or `ping`. You can read more about these later.

## Global Flags

Global Flag Syntax: `-<flag_name>[=<value>]`

Global flags are flags that can be applied to all variables (to some limits, you can't round a text for instance, that would give you an error).

For example a global flag could be `-uc` which would make the value uppercase.

You can find all global flags at [Flags](/docs/docs/flags.md#available-global-flags).

## Specific Flags

Specific Flags Syntax: `--<attribute_name>[=<attribute_value>]`

Specific variables are unique to the variable, and can only be used on the variables which accepts it. For example, the `key_pressed` variable takes a specific flag called `key`.

{% hint style="info" %}
You can use both global and specific keys, and use multiple of each on the same variable! For example, `{biome -sh-nd-tc}` would give you `Snowy Taiga` instead of `minecraft:snowy_taiga`
{% endhint %}

##


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://adaptivehud.gitbook.io/docs/getting-started/variables.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.
