# Variables

Exaplay accepts the configuration of single line variables at a global level or per project.&#x20;

These variables can hold IP addresses with their ports, i.e.: l`aptop-tcp=192.168.1.217:8100`.&#x20;

Variables can be used in the scripted network commands, such as `OSC>` or `TCP>`.

Example:

* To send a play via TCP to laptop-tcp: T`CP>$laptop-tcp,play,timeline1`&#x20;

Use `$` followed by the variable name to access the value.

## Global Variables

Can be set in the `Settings` menu under the `System` tab:

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

## Project Variables

Can be set in the `project inspector` in the `Variables` section.

<figure><img src="/files/c7T73epStMg0v3JCVQwq" 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.exaplay.one/control/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.
