> 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/2.0.0/type-specifics/classes/statuseffect.md).

# StatusEffect

### Description

StatusEffects hold the [StatusEffectData](/status-effects-framework/2.0.0/type-specifics/scriptable-objects/statuseffectdata.md) and duration.

### 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>Timing</td><td>A StatusEffectTiming enum that designates the timing of the effect (Duration, Infinite, Event, Predicate)</td></tr><tr><td>Duration</td><td>How long the effect will last. This may be in seconds but can also be tied to <a href="https://docs.unity3d.com/ScriptReference/Events.UnityEvent.html">UnityEvent</a> invocations.</td></tr><tr><td>Stack</td><td>The int value count of how many stacks of the effect there are.</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><tr><td>OnDurationUpdate</td><td>Invoked when the duration value is changed.</td></tr><tr><td>OnStackUpdate</td><td>Invoked when the stack value is changed</td></tr></tbody></table>
