Is there a way to get the location of an actor within a box volume? Not world location?

Is there a way to get the location of an actor within a box volume? Not world location?

I am trying to do a random enemy spawn that come out of the ground - but I do not want them to appear beneath my character - My idea is to get actor location within a box volume and add say 100 units in the X axis on either side but I’d like the enemies to not spawn outside of the volume

Here is a good video that should help you understand how to solve your problem.
Vector Math