> For the complete documentation index, see [llms.txt](https://docs.lightact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lightact.com/layers-and-layouts/layer-connections.md).

# Layer Connections

Layer connections are a tool to share data and content between Layer variables in different layers. They present a more streamlined way to do that compared to [Global variables](/layers-and-layouts/layer-layouts/variables/global-variables.md).

In most cases you will be using Layer connections to pass textures from one layer to another, so let's demonstrate how this can be done.

## Example: Scroll texture

<div align="left"><figure><img src="/files/nL8ju92fZtMwNePdEKLX" alt=""><figcaption></figcaption></figure></div>

Create a:

1. **Video screen** in the Viewport
2. **Color grid** layer and
3. above it a **Scroll texture** layer

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

Then:

1. **drag** from the Video screen to Scroll texture layer.
2. **Alt + drag** from Color grid layer to Scroll texture layer

You've just created a layer connection. It copies the Texture variable from Color grid layer to Texture variable to Scroll texture.

<div align="left"><figure><img src="/files/WFmhhywhzjNv9fV8bNra" alt=""><figcaption></figcaption></figure></div>

Now open **Layer connections** window. You can find it in the **Window** top menu. In this window you can see a Table with 2 columns:

* **Source**: with 3 sub-columns you set the *source variable*
* **Destination**: with 3 sub-columns you set the *destination variable*

{% hint style="info" %}
**Good to know**: by Alt-dragging from one layer to another you create a layer connection between 2 layers that copies **all Texture** variables from the Source layer to all Texture variables of the Destination layer.
{% endhint %}

{% hint style="info" %}
**Good to know**: to create layer connections of **non-texture** variables, you need to use Layer connections.
{% endhint %}

<div align="left"><figure><img src="/files/otPlHkK3V77L3qkRsMTX" alt=""><figcaption></figcaption></figure></div>

If you want to temporarily disable a Layer connection just click on the eye icon in Layer connections window.

<div align="left"><figure><img src="/files/DZyiqXI6F5RLCVSs3RsQ" alt=""><figcaption></figcaption></figure></div>

If you want to delete a Layer connection you can do that in Layer connection window or by right clicking on one of the layers and selecting **Delete layer connections**.
