- Home /
Question by
nachsor17 · Aug 31, 2021 at 09:37 PM ·
uibuttonnavigation
How can I allow navigation only through enabled buttons?
I just added a way to navigate through the UI using the the tab key on a keyboard or the d-pad on a controller. My issue comes from the fact that I want to disable interactions with some of the buttons(the player needs to unlock them by getting items in the game). In of itself its not a big issue since i can just disable the Interactable option, my issue is that you can still navigate through all the buttons using tab and the d-pad. Of course those buttons cannot be activated but it still bothers me that they are selected. Does anyone know how to disable that? Im not sure if this has to be scripted or if its just something i can change that in the inspector.
Thank you!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613042426im_/https://answers.unity.com/themes/thub/images/avi.jpg)