0 votes

So basically, in my game i have a color rect with a CRT Screen shader on it. Every object which is affected by it, is beneath that shader/Color Rect.

When i started adding TextureButtons for the Menu, i couldn't Hover or Click them because they are beneath the shader.

So my question is, is there a way to make the buttons accessable through the color rect, or do i have to manually code the hovering and clicking?

Godot version latest
in Engine by (17 points)

1 Answer

0 votes
Best answer

On the ColorRect, you can set the Mouse | Filter property to Ignore, which will cause it to ignore mouse events (which will then be received by other controls at the same location).

by (16,598 points)
selected by

Oh thank you. Turnes out i did that, but at the same time while trying to fix that, i did something so the buttons ignore my mouse too. Thank you!

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.