How to connect UMG to PlayerController


I have a game system which uses UI driven movement from sliders. Currently the movement is located in the pawn, but will be relocated to the InputController. My problem is that I can`t figure out how to connect the ui widgets to the c++ code. Can anyone help with this issue?


You can create BlueprintImplementableEvents in C++ to tell BP / UMG what to do

They in turn can call BlueprintCallable C++ functions to ask C++ to do stuff :slight_smile:

My Wiki on BlueprintImplementableEvents

#Wiki by Bn_Green

You can also check out this tutorial that talks about UMG within C++ itself,_Referencing_UMG_Widgets_in_Code