0 votes

So my root nodes should look like this:
Main Scene

But the map nodes and all the childern doesn't works. It only works if I hide the background color. Like this:
BackgroundColor nodes needs to be hide

If I run with the BackgroundColor nodes hided. It works perfectly. Like this:
Game Run perfectly

But if I run with the node not hided. The hover mouse queue_free() on the godot icon doesn't work. Like this:
enter image description here

This is the image of the code of that child and the inspector:

Oh yeah the function for deactivating input_pickable. Only use in these function:
Map Code and uses of deactivatinge input_pickable.

English is not my mother tounges. I am sorry I can't explained it with words.

Godot version 3.5
in Engine by (61 points)

1 Answer

+1 vote
Best answer

This is likely due to the mouse_filter of the ColorRect being set to stop. Select the ColorRect, in the inspector expand the Mouse category. Make sure the Filter is set to ignore unless the ColorRect needs to detect the mouse, then pass.

by (380 points)
selected by

It works!! Thank you for the explanation.

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.