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

# StatusEffect

### Description

[StatusEffects](/status-effects-framework/type-specifics/classes/statuseffect.md) contain the [StatusEffectData](/status-effects-framework/type-specifics/scriptable-objects/statuseffectdata.md), timing, duration, and stack count.

### Properties

<table data-full-width="true"><thead><tr><th width="250">Name</th><th width="250">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>Data</code></td><td><a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a></td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> reference.</td></tr><tr><td><code>Timing</code></td><td>StatusEffectTiming</td><td>A StatusEffectTiming enum that designates the timing of the effect (Duration, Infinite, Event, Predicate)</td></tr><tr><td><code>Duration</code></td><td>float</td><td>How long the effect will last. This may be in seconds but can also be tied to other events.</td></tr><tr><td><code>Stack</code></td><td>int</td><td>The int value count of how many stacks of the effect there are.</td></tr></tbody></table>

### Actions

<table data-full-width="true"><thead><tr><th width="250">Name</th><th>Description</th></tr></thead><tbody><tr><td><code>Started</code></td><td>Invoked when the effect starts.</td></tr><tr><td><code>Stopped</code></td><td>Invoked when the effect stops.</td></tr><tr><td><code>OnDurationUpdate</code></td><td>Invoked when the duration value is changed.</td></tr><tr><td><code>OnStackUpdate</code></td><td>Invoked when the stack value is changed</td></tr></tbody></table>
