How can i get a variable from a widget blueprint and be able to change the value in the level blueprint

basically what the title says
how can i get a variable from a widget blueprint and be able to change the value in the level blueprint so say i want to change the amount of a value when the level plays such as using the event begin play?

Well if you spawn your widget blueprint from the level blueprint you can have the reference directly, if you spawn it from the player pawn, you need to use in the level blueprint : get player pawn → cast it to your class → get the variable of the widget blueprint that you spawned in it. And you need the make the variable of your widget bp editable.

OMFG THANK YOU i have had this issue for more than a week and i nearly gave up on my game because of it THANK YOU