Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VSlider

Inherits: Slider < Range < Control < CanvasItem < Node < Object

Vertical slider.

Description

Vertical slider. See Slider. This one goes from bottom (min) to top (max).

Note: The Range.changed and Range.value_changed signals are part of the Range class which this class inherits from.

Properties

SizeFlags

size_flags_horizontal

0 (overrides Control)

SizeFlags

size_flags_vertical

1 (overrides Control)

Theme Properties

int

grabber_offset

0

Texture2D

grabber

Texture2D

grabber_disabled

Texture2D

grabber_highlight

Texture2D

tick

StyleBox

grabber_area

StyleBox

grabber_area_highlight

StyleBox

slider


Theme Property Descriptions

int grabber_offset = 0

Horizontal offset of the grabber.


Texture2D grabber

The texture for the grabber (the draggable element).


Texture2D grabber_disabled

The texture for the grabber when it's disabled.


Texture2D grabber_highlight

The texture for the grabber when it's focused.


Texture2D tick

The texture for the ticks, visible when Slider.tick_count is greater than 0.


StyleBox grabber_area

The background of the area below the grabber.


StyleBox grabber_area_highlight

The background of the area below the grabber that displays when it's being hovered or focused.


StyleBox slider

The background for the whole slider. Determines the width of the grabber_area.