Project position onto direction

That is insanely useful. Thank you so much.