How I can make my character face to crosshair?

am confuse right now i have world location and direction in one block