Make Buttons accessable behind Color Rect Shader

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

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?

:bust_in_silhouette: Reply From: jgodfrey

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).

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!

MrChest | 2022-07-21 21:03