The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

I am working on a menu scene with a series of button nodes. Recently, I have decided that I would put a color overlay over the scene, so now there is a big, semi-transparent ColorRect placed above every other visual.

This is where I am running into problems. Because the ColorRect is on the top-most layer, any attempt to click on the buttons underneath fails; the game thinks I am clicking on the Rect instead.

Is there a property in ColorRect that I can change to make sure I can "click through" it? Please do not recommend a different method for color overlays, I am just messing around in the engine and curious if buttons can be clicked underneath a ColorRect. Thank you!

Godot version 3.4.2.stable
in Engine by (30 points)

1 Answer

+3 votes
Best answer

Yes in the inspector there is a section called "mouse". On the colourrect change this too filter ignore. You can then mouse click on something underneath the colourrect

by (3,328 points)
selected by

Worked perfectly. Thanks a lot!

You are welcome

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.