Blueprint communication in UMG

Hello!
I have a problem in my project.
My problem: i click on button in first UMG, BP need send message in second UMG and send integer number.


Second UMG get message and start event.

I dont understand what i need connect on “target”.

In screen you see prombem, that when i click on “1” i need change number of “Деньги”

Thanks in advance for the answer.

What you need to do is when you create your second UMG, save the return value as a reference, preferably in your Player Controller. Then access the reference from the Player Controller and call functions and events from the widget.

Use “Cast to”.

Thank you very much. You are master UE! :slight_smile:

For the Noob, can you show us what you mentioned above? I’m starting to grasp this I think… but I just need to see what you’ve proposed here… then I think the light bulb will fire in the brain.