> 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/1.2.0/type-specifics/classes/statusmanager/getstatuseffects.md).

# GetStatusEffects

### Declaration

public static List<[StatusEffect](/status-effects-framework/1.2.0/type-specifics/classes/statuseffect.md)> **GetStatusEffects**(string? group = null, string? name = 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 group to select in the effect list.</td></tr><tr><td>name</td><td>The name of the effect to select in the effect list.</td></tr></tbody></table>

### Returns

**List<**[**StatusEffect**](/status-effects-framework/1.2.0/type-specifics/classes/statuseffect.md)**>** Returns a list of all status effects on the [MonoBehaviour](https://docs.unity3d.com/ScriptReference/MonoBehaviour.html).

### Description

Searches a given [MonoBehaviour](https://docs.unity3d.com/ScriptReference/MonoBehaviour.html) for an effect list. If a group or name string is given then only effects with the same group name or effect name will be selected.
