Transfer a string to a button widget

How can I transfer a string value from the Level Blueprint to a button in a blueprint-widget. What would be the right way to go about Blueprints?
Thanks for helping.
Andreas

I’m not exactly sure what you’re asking but - i think what you might want is an interface. An interface is a special kind of blueprint with no graph that defines a set of functions. You can then attach this to any object you want including your button.

You define in your button how this interface is implemented. Then, you can call this interface on the instance of your button in the level blueprint and do what you want with it - including setting a string.

You could create a function straight onto your button, but if you make an interface you can use this again with other objects you may want to have this behaviour on.