You can use dot product for this:
using the cross-product but on C++ and I’m using blueprints.
Also available in BPs: