Files
Basalt2/docs/references/elements/Slider.md
2025-02-16 19:31:38 +00:00

778 B

Slider : VisualElement

Properties

Property Type Default Description
step number 1 Current step position (1 to width/height)
max number 100 Maximum value for value conversion
horizontal boolean true Whether the slider is horizontal
barColor color color Colors for the slider bar
sliderColor color The color of the slider handle

Functions

Method Returns Description
Slider.new -
Slider:getValue -
Slider:init -
Slider:mouse_click -
Slider:mouse_scroll -
Slider:render -

Slider.new()

Slider:getValue()

Slider:init()

Slider:mouse_click()

Slider:mouse_scroll()

Slider:render()