
u/flygohr

[For Hire] Artist available for character portraits, groups, and more - DnD, Pathfinder, OCs, other TTRPGs, etc - Fantasy and sci-fi
[For Hire] Character artist available for DnD commissions
[For Hire] Professional character artist available for commissions
[For Hire] Bookings open for August and September - Fantasy character commissions
[For Hire] Professional character artist, bookings open for August and September
Help with ScrollContainer children masking the touch-drag user action
Good morning and thanks in advance for all the help :)
I have a situation that has been bothering me for a few days.. it's not "mandatory" for me to fix it, but it surely would be nice.
I have a ScrollContainer that contains a GridContainer that has a script spawning a bunch of children (img 1).
Now, it works fine, but on touchscreens I can initiate the scrolling only when dragging the finger from the empty areas of the ScrollContainer. Dragging it from said children doesn't work, and I might know why. I can't find a solution though.
I suspect that the children (img 2) are interfering with the scrolling because of their giant button overlaying them. The button is sized to cover the whole child.
I need said children to be clickable/tappable for them to open a pop-up. Is there something you'd do differently? What can I do to make it so dragging works from everywhere on the screen on such ScrollContainer?
Please keep in mind that I'm very, very Junior when it comes to programming and Godot. If you are very experienced, I would kindly ask for you to dumb it down for me, or to recommend me the bare minimum to get this to work, even if sub-optimal. I don't need this to be very fast or perfect, it's a personal project and I just need it to work.
I am also fine with letting it sit as is.. but I thought I'd ask!
Thanks in advance for your help :)