> 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/stock-layer-templates/generative-layer-templates/strobe.md).

# Strobe

Category: Generative

<figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-0dd8c39a8aecaa0665bc2423cf3a0d5a41128e08%2Fstrobe.gif?alt=media&amp;token=d2a123af-4152-471e-b021-aaca2c5ef3d9" alt=""><figcaption><p>Effect is slowed down because of the GIF format</p></figcaption></figure>

**Strobe** is one of the generative layer templates that creates a strobe effect.

## Variables

### **Strobe**

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-05a141a4dc6d834d4bc9a1b0d8f16d25ef52c427%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

* **Mapping:** for strobe to work as intended you need to select a canvas set up in a specific way.
* **Delay:** delay between the individual flashes. The lower it is, the faster the strobe effect.
* **Spread:** the spread of individual flashes. The higher this number is, more of the screens will flash at the same time.
* **Number of screens:** type in how many screens you want the strobe effect to apply to.
* **Strobe color**: color of the strobe effect.
* **Auto rename:** select if you want the layer's name to display the state of the variables.

## Setting up

{% hint style="warning" %}
For strobe layer to work as intended, it needs to be mapped to a canvas.
{% endhint %}

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-4976c81acd40684796c6f2ce0c288c550eea2752%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

To demonstrate Strobe layer in an example, say you want to generate a strobe effect on 3 independent video screens.

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-4c82aab63ec7aa2d8ad3992094731c3ed5298280%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Then you need to:

1. map the Strobe layer to a canvas. The resolution doesn't matter
2. on that canvas, you create 3 sub-areas
3. map each of them to your video screens and select *Stretch to target*.

If you have a different number of screens, you need to adjust the Number of screens variable and of course the number of sub-areas.
