I want to change the value of the print variable in the widget blueprint via a button in the editor utility widget

Sorry, I didn’t understand what you meant, but you can see my production process