ScrollBar

Inherits: Range < Control < CanvasItem < Node < Object

Inherited By: HScrollBar, VScrollBar

Base class for scroll bars.

Description

Scrollbars are a Range-based Control, that display a draggable area (the size of the page). Horizontal (HScrollBar) and Vertical (VScrollBar) versions are available.

Properties

float

custom_step

-1.0

int

size_flags_vertical

0 (parent override)

float

step

0.0 (parent override)

Signals

scrolling ( )

Emitted when the scrollbar is being scrolled.

Property Descriptions

float custom_step

Default

-1.0

Setter

set_custom_step(value)

Getter

get_custom_step()

Overrides the step used when clicking increment and decrement buttons or when using arrow keys when the ScrollBar is focused.

© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_scrollbar.html