> 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.4.1/type-specifics/classes/conditional.md).

# Conditional

### Description

A conditional command to run when a [StatusEffect](/status-effects-framework/1.4.1/type-specifics/classes/statuseffect.md) is applied. It can add or remove other [StatusEffects](/status-effects-framework/1.4.1/type-specifics/classes/statuseffect.md) depending on whether the condition is met.

### Properties

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>searchable</td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> that is searched for in the target.</td></tr><tr><td>exists</td><td>The bool to check if the searchable exists or doesn't exist.</td></tr><tr><td>add</td><td>The bool to add or remove the configurable type.</td></tr><tr><td>configurable</td><td>The ConditionalConfigurable enum that selects how to remove.</td></tr><tr><td>data</td><td>The <a href="/pages/FzvWc4ygR9G3YZgoRwuJ">StatusEffectData</a> that can be added or removed.</td></tr><tr><td>comparableName</td><td>The <a href="/pages/02bLxywPwHRLDlT27aUv">ComparableName</a> that can be removed.</td></tr><tr><td>group</td><td>The <a href="/pages/yHh71i6DLa292qCBRnk1">StatusEffectGroup</a> that can be removed.</td></tr><tr><td>timing</td><td>The ConditionalTiming enum that determines what kind of timing should be applied to the added <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffect</a>.</td></tr><tr><td>duration</td><td>If Duration is selected in the ConditionalTiming enum this float value will be used.</td></tr></tbody></table>
