NECROKRIEG
I have created the following functionality. Hopefully this is helpful, I thought this would work better than choosing a random empty slot. If you definitely want it to choose the nearest empty slot then I can help set up some logic but it's late now : P
- On drop, card goes to a slot if overlapping
- if slot is full then card will go to original starting position
- if slot is empty then card will be placed in slot
capx