- Home /
Only one button on the screen will work at a time
This issue just randomly occurred, before it happened everything worked fine. Basically my problem is I have 2 buttons and only one is press able at a time. If I put my mouse over one of them it will become slightly grey as it should, if I put my mouse over the other one it doesn't do anything. If I remake the faulty button that one will work but the one that worked before wont. Does anyone know how to fix this?
Answer by ExplosiveBarrels · Aug 30, 2018 at 05:00 PM
Sounds like some UI element is blocking raycasts to the non-functional button, and that culprit is probably the button that is working. Check the button's size, and that of all its children, to be sure it's not so large that it's overlapping the other button. It could also be where you're placing the button in the Canvas. Make sure it's in the right Canvas, and not a child of something that would obstruct it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612173738im_/https://answers.unity.com/themes/thub/images/avi.jpg)