How to scroll over items inside ScrollContainer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By punyi23

Hi everyone,

I’m facing with a little thing about scrollContainer that I rather in other way.

Hierarchy

→ ScrollContainer
→ HBox
—> Control node scene

Well, right now when you add some items inside a hbox the scrollcontainer fits perfectly and that’s fine, but my problem is that I’m only able to scroll when I make the scroll movement (mouse or touch) between the HBox separation that I have setted but I want that the nodes inside HBox scroll del ScrollContainer when you are scrolling over them but aswell keeping their own actions like button actions.

I hope I had explained it enough well,

Thank you!

:bust_in_silhouette: Reply From: flurick

Sounds like one Control in the node scene or the Hbox is set to Mouse:stop in the inspector or that the accept_event() function is called somewhere so the scroll “click” does not bubble up to the ScrollContainer.

Indeed, some TextureButton were as Mouse:stop

Really appreciate it!

Thank you!

punyi23 | 2019-03-16 19:19