collisionobject signals not working

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

just read the title, mouse_entered, mouse_exited or input_event, non of them are working.
the area2d is pickable and has a collisionshape and yet there’s no response at all

I was playing arround a bit and moving my mouse all over the screen and suddenly the a few times managed to actually trigger the function, can’t tell why tho. doesn’t seems to be happening any more

Hard to tell what’s wrong,
could you make screenshots of the properties from your Area2D and the CollisionShape?

Adam_S | 2019-09-14 10:51

Can’t see something wrong here, could you upload your project?

Adam_S | 2019-09-15 12:05

:bust_in_silhouette: Reply From: zen3001

fixed the issue on my own.
The area2d is supposed to be in the world so bellow the hud’s canvaslayer, while the canvas layer didn’t prevent the signals. the control nodes seem to have done it(in my case it were some boxcontainers). What I needed to do was set the Mouse Filter property of the control nodes to “ignore”, which were set to “stop” before.

Thanks!!! Saved me a lot of time :smiley:

TheSecurityDev | 2019-11-27 18:29