# StatusEffect

### Description

StatusEffect holds the [StatusEffectData](https://maraudical.gitbook.io/status-effect-framework/1.2.0/type-specifics/classes/statuseffectdata) 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="statuseffectdata">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>
