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

# GetStatusEffects

### Declaration

public [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1?view=net-8.0)<[StatusEffect](/status-effects-framework/2.0.0/type-specifics/classes/statuseffect.md)> **GetStatusEffects**([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

[**IEnumerable**](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1?view=net-8.0)**<**[**StatusEffect**](/status-effects-framework/2.0.0/type-specifics/classes/statuseffect.md)**>** Returns a [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1?view=net-8.0) of all status effects in this [StatusManager](/status-effects-framework/2.0.0/type-specifics/classes/statusmanager.md) with the given filters.

### Description

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