Hi, sorry if this has been answered somewhere, I couldn't find it with the searches I put in..
I'm trying to detect if a dragged sprite is basically being dragged either to the left, right, up or down.
So as an example imagine a sprite with 5 frames:
1: right arrow
2: left arrow
3: up arrow
4: down arrow
If you drag the sprite to the right, I'd want to detect that and tell the sprite to go to frame 1
alternatively if you drag the sprite up, to go to frame 3 etc.
Any advice or tips would be greatly appreciated!