How to toggle ReferenceRect hit box

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

I have a ReferenceRect witch is a child of a button, so I can’t hit the button because the ReferenceRect covers it. So my question is how can I uncover the button.

Thanks for replying.

:bust_in_silhouette: Reply From: jgodfrey

Set the mouse_filter property of the ReferenceRect to MOUSE_FILTER_IGNORE (via code or via the inspector).

Thanks man.
It will definitively helps me.

fremis | 2023-02-06 20:03