How to cast to the location of a separate Actor on an input event?

You mean do this in C++? I can just do this .Loc thing, subtract them, and get a direction, then multiply it and convert to vector? Is there a way to do it through blueprint?