How to detect input Controls within a GridContainer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Rahvin
:warning: Old Version Published before Godot 3 was released.

Hello :).

I’m fiddling around with this for the last 3 days and I’m starting to get mad.
I have a GridControl which get filled with 25 Controls during runtime.

Now I simply like to detect Mouse-Input-Events for each Conrol in the Grid.

I have the basic setup ready but as it seems there is only a very small rect on the Controls in the upper right corner which detects the input. I found no way to resize this area. I used set_size but without any noticeable result.

This is the stripped down version of the program:
Test-Project

It would be very nice if someone could take a look at it and tell me what I am doing wrong.

:bust_in_silhouette: Reply From: Kamil Lewan

Turn off Focus/Stop_Mouse in CardParentContainer/Background node. In Icon too.
PS: you may delete:

set_process_input(true)

in CardParentContainer

Thanks a lot :slight_smile: !!!

Rahvin | 2017-06-27 17:36