How to find the nearest actor in a direction?

turns out it was