# Change IControl positions with ISwapControl

**URL:** <https://iplug2.discourse.group/t/change-icontrol-positions-with-iswapcontrol/646>\
**Category:** Uncategorized\
**Created:** [10 June 2022 13:06 UTC](https://iplug2.discourse.group/t/change-icontrol-positions-with-iswapcontrol/646 "2022-06-10T13:06:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stw](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@stw](https://iplug2.discourse.group/u/stw)\
**Post date:** [10 June 2022 13:06 UTC](https://iplug2.discourse.group/t/change-icontrol-positions-with-iswapcontrol/646/1 "2022-06-10T13:06:35Z")

</div>

Hi,  
i was just in need for changing the order of some IControls corresponding to a changing signal flow (e.g. FX chain). So i created an ISwapControl which changes control positions by drag and drop on a vertical or horizontal axis. Maybe it’s useful for you. Here’s a gist…

> <https://gist.github.com/stweyel/9c5ebb6aa1b4533f904ecec291d354f5>

![Bildschirmaufnahme 2022-06-10 um 09.39.52(3)](https://global.discourse-cdn.com/free1/uploads/iplug2/original/1X/a1cb15b0df48059d66ca1e263cc6c6de1f6a7c52.gif)  
 ![Bildschirmaufnahme 2022-06-10 um 09.29.58](https://global.discourse-cdn.com/free1/uploads/iplug2/original/1X/3357cf957edbec1e784f59c35d6752b143a12c5c.gif)  
 ![Bildschirmaufnahme 2022-06-10 um 10.34.44](https://global.discourse-cdn.com/free1/uploads/iplug2/original/1X/f361215e790532d0d43cc59b98154e63a99043c8.gif)
