> For the complete documentation index, see [llms.txt](https://bloodmoon.pseudonova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bloodmoon.pseudonova.com/events/swap-event.md).

# Swap Event

## Required arguments

| Order | Type    | Argument                 |
| ----- | ------- | ------------------------ |
| 1     | decimal | percentage of occurrence |

## What it does

Whenever the event is triggered, players in a specified radius around the mob will be swapped positions

## Example usage

```yaml
actions:
  swap:
    events:
      - swap 100
    commands: []
```
