> For the complete documentation index, see [llms.txt](https://drotek.gitbook.io/lsc2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://drotek.gitbook.io/lsc2/show-creation/formation/transition/swaps.md).

# Swaps

## Swaps

These tools have been created to edit a formation easily for example to avoid collisions.

### Swap target

`Swap target` swaps the targets between two drones.

{% embed url="<https://www.youtube.com/watch?v=ytAbK0SSLJQ>" %}

### Swap order

`Swap order` swaps the transition order between two drones.

{% embed url="<https://www.youtube.com/watch?v=o6bIQ24kuiM>" %}

### Auto swap

`Auto swap` will automatically apply `Swap target` on every collision of the selected drones.

You may need to use it several times.

If the number of collisions, stop reducing after several tries. You should try another direction or scale up the formation.

### Collision Reduction Strategies

If the swap tools do not resolve all collisions, the following strategies can be used to reduce the number of collisions:

1. Increase the `Min distance` between anchors
2. If you use staggered transition, increasing `Frame step` should reduce the number of collisions
3. Try using the swap tools again after each of these strategies.
