Holes in the is_hovered() check for TextureButton?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By OiKeTTLe

I’m working in a very small resolution game, which I think is contributing to the issue. The button itself is 16x16 pixels in the editor. I want to have a tooltip show up when it’s hovering over the button, but it’s super inconsistent. There are pretty big gaps all over the button that don’t count as being hovered. Is there any way to fix this, other than just upping the resolution? Thanks.

Edit: The gaps aren’t just for the hover check. There are gaps in the button itself for some reason; I can only press on it in certain places for some reason.

:bust_in_silhouette: Reply From: rhennig

Has this button other nodes inside or close (maybe text)? If so you need to pay attention to the “Mouse Filter” at the inspector because it determines how the mouse will be consumed by the nodes. Maybe the text (or other node) is consuming your mouse input causing this issue. You can change the Mouse filter to Ignore if you dont want a node (like text or icon) to interact with your mouse.