# StatusEffect

### Description

StatusEffects hold the [StatusEffectData](https://maraudical.gitbook.io/status-effect-framework/1.6.0/type-specifics/scriptable-objects/statuseffectdata) 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="../scriptable-objects/statuseffectdata">StatusEffectData</a> reference.</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></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://maraudical.gitbook.io/status-effect-framework/1.6.0/type-specifics/classes/statuseffect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
