# GetStatusEffects

### Declaration

{% code overflow="wrap" fullWidth="true" %}
```csharp
public IEnumerable<StatusEffect> GetStatusEffects(StatusEffectGroup? group = null, ComparableName? name = null, StatusEffectData? data = null)
```
{% endcode %}

### Parameters

<table data-full-width="true"><thead><tr><th width="250">Name</th><th width="250">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>group</code></td><td><a href="../../structs/statuseffectgroup">StatusEffectGroup</a></td><td>The <a href="../../structs/statuseffectgroup">StatusEffectGroup</a> to select in the effect list.</td></tr><tr><td><code>name</code></td><td><a href="../../scriptable-objects/comparablename">ComparableName</a></td><td>The <a href="../../scriptable-objects/comparablename">ComparableName</a> of the effect to select in the effect list.</td></tr><tr><td><code>data</code></td><td><a href="../../scriptable-objects/statuseffectdata">StatusEffectData</a></td><td>The <a href="../../scriptable-objects/statuseffectdata">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)**<**[**StatusEffect**](../statuseffect)**>** Returns an [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1) of all status effects in this [StatusManager]() with the given filters.

### Description

Searches this [StatusManager]() 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.
