# Effects
URL: /docs/locale/software/lmixer/addons/addon-suite/effects
Source: https://raw.githubusercontent.com/itsektionen/docs/refs/heads/main/content/docs/locale/software/lmixer/addons/addon-suite/effects.mdx



## Interval [#interval]

**_Location:_** `addon_suite/effects/interval`

### `interval` [#interval-1]

Run a function at a specified interval.

| name     | desc                                                                               |
| -------- | ---------------------------------------------------------------------------------- |
| interval | The time in ms between executions                                                  |
| function | The function to call each time. The function gets the current layer as an argument |

## Shader [#shader]

### `Shader` [#shader-1]

The generic shader function. A shader is executed for every pixel of a layer. Each pixels either returns:

- An [RGBColor](./util#rgbcolor)
- `nil` for no change
- `"STOP"` to immediately stop the shader

The params to the fragment shader varies between pixels.

This function should not be directly called in scripts, instead, addons should wrap it for the specific
fixtures in use.
