ksp
premium article

Last modifiedby & filed under Kontakt Scripting (KSP) - Basics, UIs, Tutorials, Scripts and Tools, Kontakt Scripting (KSP) :: Custom Scripts & Functions (Plugins), Kontakt Scripting (KSP) :: UI (Design) & Engine.

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

MAIN 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
DOWNLOAD


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.

YouTube privacy policy

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

How useful was this article?

something you didn't like? Please tell us before you rate!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

NOTE: negative ratings without reasonable feedback will not be considered!

Tell us how we can improve this post?

2 Responses to “Kontakt Scripting (KSP) :: SCRIPTS :: Rearrange FX Slots via Draggables, DLC”

  1. 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.

Leave a Reply

use <pre> </pre> to wrap code blocks

use <code> </code> to wrap small code snippets

use basic html to style your comment

Your email address will not be published. Required fields are marked *