title: How do I set a variable in separate widget class from custom button widget class in ue4 blueprint
body: <p>attached are my current blueprints. i have a widget that is the level select screen, which will contain instances of a level select button. depending on which button is clicked, i want it to update a variable in the level select widget which stores the level from that particular button. I'm trying to do this so that i can add or remove levels from the selector in a modular way, as well as because there will be an option to select multiple levels played one after the other.</p>
  <p><a href="https://i.gyazo.com/71731a6682b186b0e1b874a80144677c.png" rel="nofollow noreferrer">https://i.gyazo.com/71731a6682b186b0e1b874a80144677c.png</a> is the button code, when clicked it will take the editor value as an int, and (when working properly) send that to the level select code which is pictured here <a href="https://i.gyazo.com/277e54770aa1a70bdab083f8b98aa714.png" rel="nofollow noreferrer">https://i.gyazo.com/277e54770aa1a70bdab083f8b98aa714.png</a>, selecting the proper level based on the value of variable 'selected level' when the 'proceed' button is clicked.</p>