How to cancel on_input propagation to additional script components?

Hello I have made the cursor as gui, my problem is that cursor that has input of britzl to react at collisions when open the popup gui with buttons press on it but press also under it. How can I do to react only on the button and not under. thanks

Also for some reason when cursor is over a nil object disappears and appear only above objects with collisions. Thanks

I think I must do it with msg.post(".", “release_input_focus”) but I am not sure how
Thanks

You can cancel on_input propagation by returning true from on_input()

4 Likes

thanks a lot