This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hey there

This project recreates the current problem I'm facing. When a TextureButton (or a TextureRect for that matter) in the level overlaps with the TextureRect in the GUI instance, the mouseentered() signal doesn't fire. If i increase the layer on the GUI scene, the mouseentered() signal on the GUI TextureRect fires, but signals on the TextureButton don't fire.

Any tips to workaround this would be appreciated.

Godot version 3.5.1
in Engine by (19 points)

1 Answer

0 votes
Best answer

I was able to fix it by resetting Layer for GUI (changed it to 1) and resetting Z Index for ItemContainer (changed it to 0) and changing Mouse -> Filter setting to Ignore for these nodes:

Control
HBoxContainer
LeftArrowContainer
RightArrowContainer

I've learned that whenever you have a problem with catching mouse input, it's usually fixable by changing the mouse filter setting.

by (104 points)
selected by

Like a boss! All of the blessings upon you, and upon you all of the blessings!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.