Is there a way for me to check what direction the player is moving in

direction relative to what exactly?