ReGui
  • Introduction
  • Getting Started
    • Installing
    • Creating windows
  • Plugins
    • Custom elements
    • Custom flags
    • Custom themes
  • Examples
    • Demo window
    • Example scripts
  • Methods
  • ReGui functions
  • Canvas functions
  • Configuration saving
  • Elements
    • :Label
    • :Error
    • Code Editor
    • :Button
    • :SmallButton
    • :RadioButton
    • :Image
    • :VideoPlayer
    • :Checkbox
    • :Radiobox
    • :Viewport
    • :Console
    • :Region
    • :List
    • :CollapsingHeader
    • :TreeNode
    • :Separator
    • :Indent
    • :BulletText
    • :Bullet
    • :Row
    • :SliderInt
    • :SliderFloat
    • :SliderEnum
    • :SliderColor3
    • :SliderCFrame
    • :SliderProgress
    • :DragInt
    • :DragFloat
    • :DragColor3
    • :DragCFrame
    • :InputText
    • :InputTextMultiline
    • :InputInt
    • :InputColor3
    • :InputCFrame
    • :ProgressBar
    • :Combo
    • :Keybind
    • :PlotHistogram
    • :Table
    • :TabSelector
    • :Window
    • :TabsWindow
    • :PopupModal
Powered by GitBook
On this page
  • Example usage:
  • Theme colors:
  1. Elements

:SliderInt

type SliderInt = {
	Value: number?,
	Format: string?,
	Label: string?,
	Minimum: number?,
	Maximum: number?,
	Disabled: boolean?,
	NoGrab: boolean?,
	NoClick: boolean?, //-- Drag only if true
	NoAnimation: boolean?,
	Callback: (number) -> any?,
	ReadOnly: boolean?,
	SetDisabled: (SliderInt, Disabled: boolean) -> Slider,
	SetValue: (Slider, Value: number, IsSlider: boolean?) -> Slider?
}

Example usage:

:SliderInt({
    Label = "Slider",
    Value = 5,
    Minimum = 1,
    Maximum = 32,
})

Theme colors:

Tag
Affects

FrameBg

Background color

FrameBgTransparency

Background transparency

Text

Text color

TextFont

Text font

TextSize

Text font size

Previous:RowNext:SliderFloat

Last updated 1 month ago