# Scroll Texture

<figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-ee2c900ee12c5180337172190083e33797aaea87%2FscrollingColorGrid.gif?alt=media" alt=""><figcaption><p>This is a GIF preview so the scrolling isn't smooth.</p></figcaption></figure>

**Scroll Texture** is one of the generative layer templates that scrolls a texture arriving from Layer Connections.

## Variables

### **Render**

Explained in [Stock Layer Templates](https://docs.lightact.com/layers-and-layouts/stock-layer-templates).

### **Scroll**

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2FjnXo8aOAOFMNZF9mBZdb%2Fimage.png?alt=media&#x26;token=90b184ce-2a7c-4a20-8847-adb3a4163a46" alt=""><figcaption></figcaption></figure></div>

* **Texture**: reference to the texture that's going to be scrolled. Connect it with the source layer through Layer Connections.
* **Speed**: the speed with which the texture is going to scroll
* **Vertical**: if checked the texture is going to scroll vertically, otherwise horizontally.
* **Auto rename:** select if you want the layer's name to display the state of the variables.

## Setting up

<figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Ft6waCksspS2TN2vWnsmD%2Fimage.png?alt=media&#x26;token=a5806327-3d3d-4629-b3c4-e1b6e8567591" alt=""><figcaption></figcaption></figure>

This layer template relies on [Layer Connections](https://docs.lightact.com/layers-and-layouts/layer-connections). This means that the Texture variable needs to be the destination of another Source layer.
