Codename LogoCodename Logo

funkin.backend.scripting.events.FreeplayAlphaUpdateEvent

APIWiki

Constructor

Variables

idleAlpha:Float

The alpha when nothing is playing and isnt selected

idlePlayingAlpha:Float

The alpha when something is playing and isnt selected

lerp:Float

The lerp of the alpha

selectedAlpha:Float

The alpha when nothing is playing and selected

selectedPlayingAlpha:Float

The alpha when something is playing and selected

Methods

View in GitHub

recycle(idleAlpha:Float, idlePlayingAlpha:Float, selectedAlpha:Float, selectedPlayingAlpha:Float, lerp:Float):FreeplayAlphaUpdateEvent

Inherited Variables

Defined by CancellableEvent

data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

View in GitHub

preventDefault(c:Bool = false):Void

Prevents default action from occurring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

View in GitHub

toString():String

Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]

Returns:

String