Scroll container blocking buttons

Godot Version

v4.2.2.stable.official [15073afe3]

Question

I have a scroll container within which I can press buttons to cause an information popup to appear. The popup box itself is showing above the contents on the container after I adjusted the z_index, but the popup’s child buttons can’t be clicked until the popup is moved out of range of the scroll container.

popup_frame.z_index = 1

I tried to set the z_index of the popup buttons as well, but it didn’t work. I even tried to decrease the container z_index, but it threw an error. The container mouse filter is set to ignore. I need to have the popup appear near where the container button is being pressed, which is sometimes in range of the container. Any ideas out there?

-Thank you

I solved it. I had to set ‘MOUSE_FILTER_IGNORE’ on every element being put into the scroll container. The container is being built dynamically on the fly.

element_copy.mouse_filter = Control.MOUSE_FILTER_IGNORE

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.