gui_input inside grid container

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

I have a control node inside a gridcontainer. The control node has a script calling gui_input but it is not working even though the grid container is set to ignore mouse.

:bust_in_silhouette: Reply From: IHate

The reason was that the grid container changed the width of the control node to 0.
I didn’t realise because the sprite inside of the control node didn’t change size…

Always set a minimum size so parents cant overwrite it.