> For the complete documentation index, see [llms.txt](https://zypec.gitbook.io/particles/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zypec.gitbook.io/particles/effects/presets.md).

# Presets

This page was last updated for version v1.2.0

## Description

You can add scripts that you frequently use in effects to the presets.yml file and use them as presets. Additionally, you must use presets to add nested conditions in conditional scripts.

* *see* [*Preset Script*](/particles/effects/creating-effect/script-types.md#presets)

## Example

{% tabs %}
{% tab title="presets.yml" %}

```yaml
elytra-boost-1s: "conditional ({CTM} - {LBM} > 1000) ? return : none"
swap-y-z:
  - "variable temp={y}"
  - "variable y={z}"
  - "variable z={temp}"
```

{% endtab %}
{% endtabs %}
