---
description: This page was last updated for version v1.2.0
---

# Presets

## 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_](../creating-effect/script-types#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 %}
