By defining the User Widget to the Widget Component added to the Blueprint file, you can make changes on the variables and use the buttons.
https://dev.epicgames.com/community/learning/tutorials/Vdo6/unreal-engine-using-the-user-widget-as-a-local-3d-widget-with-the-widget-component-subtitle