> For the complete documentation index, see [llms.txt](https://docs.mixeffect.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mixeffect.app/automate/osc/messages/supersource/swap.md).

# Swap

| Message                | Description                                                                                        | Arguments |
| ---------------------- | -------------------------------------------------------------------------------------------------- | --------- |
| `/mixeffect/ssrc/swap` | If two boxes are visible in a preset layout, this function will swap the sources of the two boxes. | Integer   |

| Argument       | Type    | Description                                          |
| -------------- | ------- | ---------------------------------------------------- |
| SuperSource ID | Integer | One-based index of the SuperSource ID. Default is 1. |

> **Note**: If more than two boxes are visible in a preset, this function does nothing.
