Community Tutorial: Reference Parameters in Blueprint Events

What if you want to call an event from C++, implemented by a Blueprint, that should return an integer somehow? Generally, we want to be able to send some information from Blueprints to C++ via Events.

If you try to solve this, you will realize that you can’t. Is it even possible? Actually… it is… with a bit of extra work. Let’s see how.

https://dev.epicgames.com/community/learning/tutorials/eK9V/unreal-engine-reference-parameters-in-blueprint-events