How to create a blueprint implementable event with a hitresult put in c++

I’m super new to c++ in ue4, so sorry for the simplicity, but how would I create a blueprint implementable event in c++ that has a hitresult output. Like the photo attached

In your header file you can add something like this
image

You don’t need to create an implementation for it in C++ you can just call it, this is meant to be used in blueprint the same way in your image.

1 Like

Thank you so much, I realized the issue I was having was that I was declaring the event as FHitResult, instead of void.

1 Like

Thanks, that helped me as well :slight_smile:

1 Like