> 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/statusmanager/getfirststatuseffect.md).

# GetFirstStatusEffect

### Declaration

public [StatusEffect](/status-effects-framework/2.0.0/type-specifics/classes/statuseffect.md) **GetFirstStatusEffect**([StatusEffectGroup](/status-effects-framework/2.0.0/type-specifics/structs/statuseffectgroup.md)? group = null, [ComparableName](/status-effects-framework/2.0.0/type-specifics/scriptable-objects/comparablename.md)? name = null, [StatusEffectData](/status-effects-framework/2.0.0/type-specifics/scriptable-objects/statuseffectdata.md)? data = null)

### Parameters

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>group</td><td>The <a href="/pages/yHh71i6DLa292qCBRnk1">StatusEffectGroup</a> to select in the effect list.</td></tr><tr><td>name</td><td>The <a href="/pages/02bLxywPwHRLDlT27aUv">ComparableName</a> of the effect to select in the effect list.</td></tr><tr><td>data</td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> to select in the effect list.</td></tr></tbody></table>

### Returns

[**StatusEffect**](/status-effects-framework/2.0.0/type-specifics/classes/statuseffect.md) Returns the first status effect in this [StatusManager](/status-effects-framework/2.0.0/type-specifics/classes/statusmanager.md) with the given filters. Returns null if none are found.

### Description

Searches this [StatusManager](/status-effects-framework/2.0.0/type-specifics/classes/statusmanager.md) for an effect with the given filters. If a group, name, or data is given then only an effect with the same group, name, and data will be selected.
