unhandled_input not called when running main scene

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

Hi,

I have a _unhandled_input on a kinematic body which works fine when I press F6 to only run the scene which has the body.

However, when I run the whole scene (F5) it’s not even called. I checked that my hbox and viewportcontainers have mouse_filter = ignore (I also tried “pass”) but it still doesn’t work.

Why is my function not called?

My structure is
Main Node
– ViewportContainer2

—ViewportContainer1
---- Viewport
------ Camera
------ Map
------ My Character

Thanks.