Turns out that the reason for the problem in my previous post is that the bounding boxes for my UI buttons are too large, and therefore, when I try to click on a tile, sometimes that results in an invisible portion of one of my buttons being clicked instead.
How do I change the bounding box of a button element? Does it have something to do with the group that it’s in? Or the 2D screen? I’ve been tooling around with as many settings as I can find, but nothing seems to fix it.
As you can see, the bounding box on this button, for example, is way too wide. Why isn’t it equal to the size of the button itself, and how do I fix it?
Can you post a public project with this problem please? Usually it’s because the the boundary is based off the image size so if you have an button image with transparent borders, it will need trimming/cropping.
On a hunch, I checked the width/height of my button images. And it turns out that some of the button images are nearly 700 pixels wide: the same width as the bounding box:
Okay, I edited all the images so that they’re only 75px by 75px, re-uploaded them, and reassigned the button textures. But the problem persists. I’ll keep trying to monkey around with it, but it looks like I haven’t accomplished much.