very simple script to shift key based on any object distance will shift key from them with randomizing option very easy very simple i changed the use of qsort fun with much better way i improved the overlapping here with other object baked to identify the range of the animation i attached the ms file to preview the code