> For the complete documentation index, see [llms.txt](https://manual.xlights.org/xlights/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.xlights.org/xlights/effects/off/lightning.md).

# Lightning

![Icon](/files/-Lbuwm2QI2WNsG01LsPA)

![Sequencer Grid](/files/-Lbpzmwp-8a75T3koeZ0)

![](/files/-LpQstVAvCFuPDy9NyQw)

The Lightning effect generates a vertical lightning bolt type of effect. One or multiple colors can be used for the effect. White is always selected for the outer edge of the lightning bolt.

| Option/Settings            | Description                                                                                                                                                                                        |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Number of Segments**     | <p>Defines the number of zigzag segments to be used in the effect.</p><p>Can be adjusted via the Value Curves options.</p>                                                                         |
| **Width of Bolt**          | <p>Controls the width of the zig zag. A value of 1 will form a straight vertical line.</p><p>Can be adjusted via the Value Curves options.</p>                                                     |
| **Forked Lightning (Y,N)** | Controls whether the effect generates a forked effect.                                                                                                                                             |
| **Top Location (x;y)**     | <p>Defines the coordinates of the top end of the lightning bolt.</p><p>Can be adjusted via the Value Curves options.</p>                                                                           |
| **X Movement**             | <p>Controls the movement of the lightning effect horizontally across the effect. Can be made to be stationary or move in either direction.</p><p>Can be adjusted via the Value Curves options.</p> |
| **Direction**              | Up or Down for the Lightning Bolt                                                                                                                                                                  |
