Make a whole MarginContainer clickable

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

Hi,

I’m making a list made of MarginContainer. My list looks good to me and I want to make each elements(MarginContainers) clickable, but when I use the mouse_enter signal to see where my margin container is (I change the cursor shape and display a log message), only the border of the MarginContainer reacts.

Any Idea on how to make the whole MarginContainer clickable ?

Thanks in advance :smiley:

:bust_in_silhouette: Reply From: njamster

Set the mouse_filter-property of the MarginContainer’s child nodes to “Ignore” or “Pass”.