# 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="https://2196782366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsCDusk0UPrmELvhRqYpD%2Fuploads%2FxxKXDbVsxBoiUSRIvJ0k%2Fimage.png?alt=media&#x26;token=c5ca363f-229e-4bbf-a622-1c3c5840de99" alt=""><figcaption></figcaption></figure>

## Project Variables

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

<figure><img src="https://2196782366-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsCDusk0UPrmELvhRqYpD%2Fuploads%2FEWtswCZdL6P9KVnHrre7%2Fimage.png?alt=media&#x26;token=6b983eed-c037-4ef7-bc36-4d89bef31781" alt=""><figcaption></figcaption></figure>
