> For the complete documentation index, see [llms.txt](https://maraudical.gitbook.io/status-effects-framework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maraudical.gitbook.io/status-effects-framework/1.2.0/type-specifics/classes/statuseffect.md).

# StatusEffect

### Description

StatusEffect holds the [StatusEffectData](/status-effects-framework/1.2.0/type-specifics/classes/statuseffectdata.md) and duration of its life.

### Properties

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>data</td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> reference.</td></tr><tr><td>duration</td><td>How long in seconds the effect will last. A duration of 0 or less will be infinite.</td></tr></tbody></table>

### Actions

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>started</td><td>Invoked when the effect starts.</td></tr><tr><td>stopped</td><td>Invoked when the effect stops.</td></tr></tbody></table>
