0 votes


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 :D

in Engine by (12 points)

1 Answer

0 votes

Set the mouse_filter-property of the MarginContainer's child nodes to "Ignore" or "Pass".

by (10,586 points)
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.