Also if you want to set visibility of another widget you can simply use this Blueprint. Inside the Get All Widget of Class function I selected the widget I wanted to modify. Note that Top Level Only is unchecked.