How do I prevent clicks from "going through" my widget?

I think I have adjusted the visibility-collision issue well, but the clicks are only consumed if I click on the buttons of my wigets, if I click on the text, the images or the backgrounds, it is as if I went through it, and it is executed behavior linked to clicking in the background, which I use to be able to move the view.

What is the visibility set to on your tan colored window background? Is it “Visible”?

Hi, the tan colored window background is a border, and Visibility is set to Visible.

photo_2022-12-13_12-36-13

I think I fixed it by binding the border’s On Border Mouse Button Down function.