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.

HSlider

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

A horizontal slider that goes from left (min) to right (max).

Description

A horizontal slider, used to adjust a value by moving a grabber along a horizontal axis. It is a Range-based control and goes from left (min) to right (max).

Theme Properties

int

center_grabber

0

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 center_grabber = 0

Boolean constant. If 1, the grabber texture size will be ignored and it will fit within slider's bounds based only on its center position.


int grabber_offset = 0

Vertical offset of the grabber.