Here's what I need to accomplish:
I need to drag a sprite along the x or y axis according to the direction the user swipes, but once the sprite starts to move, it can only move on a single axis until the next touch. So no matter the direction of the swipe, whether it's diagonally or on the other axis, only the original axis registers until the user ends the touch and touches again.
I can get the sprite to follow the touch, but I need them to move either horizontally or vertically. I'm pretty sure I need to acquire the direction of the swipe before anything else, but I'm completely stumped on how to do that.