> 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

<figure><img src="/files/tW375d0riGRDZU3D7qE7" 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="/files/Omobfx6HVoVi0HKz4sRn" 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="/files/50oBj1NByV3iWR7K1bX2" 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="/files/60f7IFgWA6c4K7EC49vS" 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.
