Gets the orientation