CreateImageOnlyButtons not registering click some times in StackPanel!

I have a side stack panel in my Babylon scene that I place on the left of the screen, and sometimes I click on the button and the click registers and the button works fine and out of nowhere sometimes I try to click it again and it doesn’t register the click. Sometimes in the panel ill be hovering right over the button and it wont even be highlighted.

I even tried changing the button type and still face the same issue.

Please does anyone have an idea about this?

Adding @msDestiny14 :slight_smile:

Hey there!

First recommendation is I’d love to see a playground or maybe a snippet of your code just to be 100% sure. My hypothesis is that use need to add this little extra line of code to you button:

button.isPointBlocker = true;