Skip to content

Slider

A draggable slider that users can move to select a numerical value.

Authors and contributors to this community extension: D8H, VictrisGames.


A draggable slider that users can move to select a numerical value. The slider can be customized with sprites.

There are ready-to-use sliders in the asset-store settings UI pack.

Read more...

Tip

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

Slider

Let users select a numerical value by dragging a slider.

Object actions

De/activate interactions
De/activate interactions with the button.

Show label
Show (or hide) the label on the bar.

Maximum value
Change the maximum value of the slider.

Minimum value
Change the minimum value of the slider.

Step size
Change the step size of the slider.

Value
Change the value of the slider.

Object conditions

Interactions activated
Check if the slider allows interactions.

Being dragged
Check if the slider is being dragged.

Label is shown
Check if the label is shown.

Maximum value
Compare the maximum value of the slider.

Minimum value
Compare the minimum value of the slider.

Step size
Compare the step size of the slider.

Value
Compare the value of the slider.

Object expressions

Expression Description
Object.MaxValue() Return the maximum value of the slider.
Object.MinValue() Return the minimum value of the slider.
Object.StepSize() Return the step size of the slider.
Object.Value() Return the value of the slider.

This page is an auto-generated reference page about the Slider 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.