Now I created an on-clicked event for this button, but I am not sure how to tell it to activate the even in the other blueprint. To be honest I am not sure if this is even possible.
But if you know how to do this I would love to know how, or you could point me in the right direction of a tutorial?
It is possible. When you create the widget, you can subscribe to its events. Create an event in the widget event dispatcher, call it in the widget when you press your button. In the BP, bind to this event when you create the widget.
Thank you so much for your answer, unfortunately I am a complete beginner at all this.
I understand the creating the widget event dispatcher and calling on it when you press the button, however I am stuck on the binding part. I am not quite sure how to do this.
When you create the widget (as shown in your screenshot), drag a wire from the Return Value (or from the saved variable) and type the name of your event. Select Assign + %EventName%
I didn’t fully understand what you meant, but I think I got close. At least the code seems to work when I compile it. However when I press the button nothing seems to happen.
I suggest downloading this free project, which has a lot of different stuff inside, how to communicate between blueprints, buttons, ecc. Is a very good project because there are working examples that you can study and even copy paste out of them.