> For the complete documentation index, see [llms.txt](https://traps.runemarkstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://traps.runemarkstudio.com/traps/effect-handlers.md).

# Effect Handlers

These components control different visual or audio effects. You can add them to the list on the [Trap Mechanism](https://runemarkstudio.com/deadly-dungeon-traps/documentation/trap-mechanism/) components.

* **Delay:** how many seconds after the command executes after triggering.

Methods you can call with the commands in the mechanism or directly from code. Not all of these are available for every handler type.

```csharp
// Only plays the effect once.
void PlayOnce() 

// Start playing the effect indefinitely
void Play()      

// Paused the effect. When the play called, it resumes.
void Pause()     

// Stops the effect and resets it
void Stop()    
```

{% content-ref url="/pages/-MVL-ZrM5pqS2Nw2B487" %}
[Audio Handler](/traps/effect-handlers/audio-handler.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MVL-cutAZ3LAdJ3O3oL" %}
[Particle (Effect Handler)](/traps/effect-handlers/particle-handler.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MVL-ifQYPvg7yTVPrSN" %}
[Custom Effect Handler](/traps/effect-handlers/custom-effect-handler.md)
{% endcontent-ref %}
