Skip to content

Scrollbar

A scrollbar to help making a scroll view.

Authors and contributors to this community extension: D8H, Jurfix, Alios.

Warning

This is an extension made by a community member — but not reviewed by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of official extensions. In case of doubt, contact the author to know more about what the extension does or inspect its content before using it.


A scrollbar to help making a scroll view.

Tip

Learn how to install new extensions by following a step-by-step guide.

Scrollbar

A scrollbar to help making a scroll view.

Object actions

Content length
Change the content length of the object. The length of the content to scroll. The scroll bar don't actually scroll the content. You have to do it yourself with camera actions.

Scroll position
Change the scroll position.

Object conditions

Content length
Compare the content length of the object. The length of the content to scroll. The scroll bar don't actually scroll the content. You have to do it yourself with camera actions.

Scrolling is required
Check if the content is big enough to require scrolling.

Thumb is dragged
Check if the thumb of the scrollbar is dragged.

Scroll position
Compare the scroll position.

Object expressions

Expression Description
Object.ContentLength() Return the content length of the object. The length of the content to scroll. The scroll bar don't actually scroll the content. You have to do it yourself with camera actions.
Object.ScrollPosition() Return the scroll position.

This page is an auto-generated reference page about the Scrollbar extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.