If you know the previous position then you can calculate both, e.g. if old position was 10,10 and new position is 20,20, then it's moved 10*sqrt(2) units north-east. The distance is calculated with Pythagoras: sqrt( (newx-oldx)^2 + (newy-oldy)^2 ) and the direction can be worked out either with triangle geometry (watch out for dividing by zero!) or subtracting new from old and checking if the result is negative, zero or positive.
Essentially this is nothing more than a rectangular to polar conversion: x,y -> r,theta.