Codename LogoCodename Logo

funkin.backend.scripting.events.healthicon.HealthIconChangeEvent

APIWikiTools

Constructor

Variables

anim:OneOfTwo<String, Int>

Animation State

healthIcon:HealthIcon

The health icon

Methods

View on GitHub

recycle(anim:OneOfTwo<String, Int>, healthIcon:HealthIcon):HealthIconChangeEvent

Inherited Variables

Defined by CancellableEvent

data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

View on 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 on GitHub

toString():String

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

Returns:

String