I have a scroll container with a H box container inside. When I fill the H box with nodes, I am unable to scroll by click and dragging the mouse. I believe that is caused by the mouse not being able to interact with the scroll container, as it "clicks" the nodes contained inside it first. How do I fix this?
Making a control node "click through"
Well that doesn't sound like a problem. You can only interact with one at a time. So either you are able to click the buttons or you are not. And I assume the buttons are supposed to be clickable, so this seems like correct behavior.
Assuming they(the filler nodes) aren't buttons you can probably use the mouse filter and set them to pass
the mouse input down(or rather up the tree).
Oh, I see. Yes, if the nodes are not buttons or interactive, then you can pass the mouse input to the parent node by adjusting the mouse filter. Maybe I misunderstood what you were saying.
@cybereality said: Oh, I see. Yes, if the nodes are not buttons or interactive, then you can pass the mouse input to the parent node by adjusting the mouse filter. Maybe I misunderstood what you were saying.
Some of them are buttons or contain buttons. The fact is that even with buttons I should be able to scroll on a touch screen, usually mobile apps are able to understand if you want to press or scroll. Is there a way to do that in godot? (I am basing my knowledge off of the "emulate touch from mouse" option, I haven't actually tested the app on a phone)
Yes, you can do it, but I'm not sure automatically in Godot. You'd have to write custom code for the touch interaction (to control the scrolling), disable the emulate touch, and then trigger mouse events manually in code. It's less complex than it sounds, but it's always the case with custom UI interfaces (especially on mobile).