this is an additional dlc to the drag & drop script. As you may already have seen with other Kontakt instruments we can create draggables to rearrange FX or anything else with up to 16 elements. This script in particular rearranges the instrument FX chain, related to the draggable positions (see video).
READ THE MAIN DRAGGABLE SCRIPT DOCS
Draggable Script DLC:
additional example [FX repositioning]
- NKI file [Kontakt 6]: open script tab
- NKI file [Kontakt 5]: open script tab
- ksp script files
License:
MIT International License.
https://blog.yummybeats.com/license-text-mit/
You may use this script, modify it, build upon it, as you like (also commercially), as long as you keep all credits within the code visible to others. You may put them into an extra open script tab or inside an about section of your instrument. If you would like to remove the credits or publish them somewhere else, please contact us
YOU MAY NOT commercialize, share, distribute, whatsoever the included image files and other media (©2025 all rights reserved).
Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.
If you accept this notice, your choice will be saved and the page will refresh.
DOCS
The following explains the adjustments which have been made to the basic drag & drop script
premium content
unlock the full article
including all downloads!
unlock premium content
Daniel Lautersztain
With this script, the %cursor_index goes from 0-7 and whatever FX we assign in the %FX array start left and go right as you go through the array. For example if %FX[0] is a compressor and %FX[7] is say an EQ. What if I wanted to reverse the order? I can switch the FX in the %FX array (and switch them in Kontakt engine too) but the cursor index/pos still tracks 0-7 from left to right, but I want it to go 0-7 starting form the *right* and going *left*. I tried doing the inverse of the %cursor_index, such as %cursor_index[$a] := abs(-7 + $a) but that didn't quite work. Any ideas on how to reverse it? I have a pre-set order of fx I'm using in my chain and the dragging is working perfectly except I want a certain signal flow and would need the cursors to track such that from left to right along the x axis it goes 7, 6, 5, 4, 3, 2, 1, 0.YummyBeats
Yeah I also faced this problem and tried to adjust the code without success. I think it is because of the cursor's xy-coordiantes and the order in which the cursors are created by the engine. I ended up to just change the order of the cursor images and the %FX array.So simply regard the cursor indices not as FX slots, but as your FX IDs You could simply create the %FX array with all your fx in the order you want, whereas the array keys represent the cursor's indices. Also rearrange the !cursor_img[]. I hope this also helps in your case.