How to select entity infront of player?

Yesterday I was told about caret notation, which should allow me to do this, but I'm not sure how I can combine this with target selectors. The position filter for target selectors don't allow carets. so what do I do?
Continue to help post