There we have possibilities? If we have possibilities, let share it with node choosing for this movement.
Start with move node, add a 4 way swipe node, connect that to rotation animation nodes rotating whichever way the character swipes. Click on the move node and check "follow rotation"