How can I get a Location from a direction and a distance?

As asked…
If I get a direction vector, say an arrow’s rotation…
How can I find what the location would be 500 units away on that vector?

I know there is a function for this, but I can’t remember what it is.

Like this:

349329-ezgifcom-gif-maker.gif