Virtual Joystick with Top Down

I finally got the virtual joystick to move my character however how do you get the character to rotate into the direction of movement instead of using the x axis to rotate the character?

I was thinking about geting the float values from the x and y values from the virtual joystick making a vector based off of these values then normalizing it I guess is what I need to see which way it points and using that value to set the rotate value of the character.

This problem was solved I guess the Top Down Controller has a feature that auto rotates the character.