Make control not automatically accept input to have _unhandled_input called

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


I have a button control node, of which I am using the “pressed” signal. To get this working, I have to set the mouse_filter to “pass”, which makes the input propagate further but that also means that unhandled_input doesn’t get called. My unhandled_input is handling some scrolling, which isn’t working anymore when the user starts the screen drag on my button. So when the button is not pressed, I want the scrolling to be handled in “unhandled_input”

How do I do that?