Pixel-Composer/scripts/slider/slider.gml
2024-07-26 14:38:39 +07:00

11 lines
No EOL
246 B
Text

enum SLIDER_UPDATE {
realtime,
release,
none,
}
function slider(_min, _max, _step, _onModify = noone, _onRelease = noone) {
return new textBox( TEXTBOX_INPUT.number, _onModify )
.setSlideRange(_min, _max)
.setOnRelease(_onRelease);
}