# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lightact.com/layers-and-layouts/stock-layer-templates/generative-layer-templates/strobe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
