> 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](https://1941201815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ2Jwp7mRP9HqIZtQ_h%2Fuploads%2Fgit-blob-b7d848aaaf2d4763ab10bffcd5ff0762f9bc0e60%2Fimage.png?alt=media)

![Sequencer Grid](https://1941201815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ2Jwp7mRP9HqIZtQ_h%2Fuploads%2Fgit-blob-5c520d800367d8722ad079b431343278275ad426%2Fimage.png?alt=media)

![](https://1941201815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ2Jwp7mRP9HqIZtQ_h%2Fuploads%2Fgit-blob-6914bae6a4382f2e8844c58210b15cf12ec2945f%2Fimage.png?alt=media)

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                                                                                                                                                                  |
