Codename LogoCodename Logo

funkin.editors.charter.CharterStrumlineButton

APIWiki

Constructor

View in GitHub

new(imagePath:String, text:String)

Variables

@:value(true)animationOnClick:Bool = true

@:value(1)textColorLerp:Float = 1

onClick:() ‑> Void

Methods

View in GitHub

@:value({ extra : false })pressAnimation(extra:Bool = false):Void

Inherited Variables

Defined by UISprite

@:value(true)autoAlpha:Bool = true

@:value(true)canBeHovered:Bool = true

@:value(ARROW)cursor:MouseCursor = ARROW

focused:Bool

@:value(null)hoverCallback:() ‑> Void = null

@:value(false)hovered:Bool = false

@:value(false)hoveredByChild:Bool = false

@:value([])members:Array<FlxBasic> = []

@:value(false)pressed:Bool = false

@:value(true)selectable:Bool = true

Inherited Methods

Defined by UISprite

View in GitHub

onHovered():Void

Called whenever the sprite is being hovered by the mouse.