This is an improved sprite dragging engine. What is does is that instead of just seeing if mouse is down and touching mouse-pointer, it makes you have to hover over it and THEN click it. THIS PREVENTS HOLDING MOUSE DOWN THEN MOVING IT OVER UNTIL IT TOUCHES THE SPRITE.
This was made in roughly 10 minutes. 100% by me.