View source
final class StrumCreationEvent
package funkin.backend.scripting.events.note
extends CancellableEvent
Constructor
Variables
Methods
View on GitHub
cancelAnimation():Void
Cancels the animation that makes the strum "land" in the strumline.
View on GitHub
recycle(strum:Strum, player:Int, strumID:Int, animPrefix:String, sprite:String = "game/notes/default"):StrumCreationEvent
Inherited Variables
Defined by CancellableEvent
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 |
---|
View on GitHub
toString():String
Returns a string representation of the event, in this format:
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String