Codename LogoCodename Logo

funkin.editors.ui.UISlider

APIWiki

Constructor

View in GitHub

new(x:Float, y:Float, width:Int = 120, value:Float, segments:Array<SliderSegement>, centered:Bool)

Variables

Methods

View in GitHub

set_value(newVal:Float):Float

Inherited Variables

Defined by UISprite

autoAlpha:Bool = true

canBeHovered:Bool = true

cursor:MouseCursor = ARROW

focused:Bool

hoverCallback:() ‑> Void = null

hovered:Bool = false

hoveredByChild:Bool = false

members:Array<FlxBasic> = []

pressed:Bool = false

selectable:Bool = true

Inherited Methods

Defined by UISprite

View in GitHub

onHovered():Void

Called whenever the sprite is being hovered by the mouse.