0 votes

Hi everyone,

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


-> 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!

in Engine by (61 points)

1 Answer

0 votes
Best answer

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.

by (911 points)
selected by

Indeed, some TextureButton were as Mouse:stop

Really appreciate it!

Thank you!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.