Acessing other Widgets button inside a switcher

Hello there! This is my first post. I looked up for every widget switcher posts first.

Problem is I have total 4 simple menus.
WidgetTheBase(it has switcher with 3 children)
WidgetMainMenu
WidgetLightOptions
WidgetMinimap

They are all working fine. I would like to use Set Active Index on button pressed. But problem is,I cannot get access to any buttons that are inside other widgets like WidgetMainMenuMinimap which is inside button WidgetMainMenu . Question is,how I am going to achieve that? Or is it possible. They also have back button that I have to get.

Thanks.

Hey there, welcome to the AnswerHub. If you select the buttons and for each of them you set the Is Variable checkbox to true (it’s next to the name of the widget), you should have a reference for all of them you have turned into a variable.

What do you want to do with the buttons?

Thanks for the answer. Indeed they are set to Variables. but I couldn’t get it done. It would be great if you know some tutorials about that. Also I thought about creating a boolean which is set true on button pressed than calling it on mainwidget which I failed to do also.

http://prntscr.com/i108gk Here,I agree that this is quite simple. I just want to change the widget index. If I add a button to WidgetTheBase it works.

But what I want is,using LightsButton which is in WidgetMainMenu. I just want to replace On Clicked (Button_0) with On Clicked (LightButton) http://prntscr.com/i10982 . Because I will also have back button which is also in every menu widget. I might able to manage it with animations but I really want to learn how to call a button that is in another widget.
http://prntscr.com/i109cz
http://prntscr.com/i109md

Thanks!

Thanks for all help!

I resolved this by putting widget switcher to my main menu and adding 2 others. I also added a back button with is hidden by default. And when you click to Lights button it also changes index and set back button to visible.