class CancellableEvent
package funkin.scripting.events
implements IFlxDestroyable
extended by CamMoveEvent, CountdownEvent, DanceEvent, DirectionAnimEvent, DiscordPresenceUpdateEvent, FreeplaySongSelectEvent, InputSystemEvent, MenuChangeEvent, NameEvent, NoteCreationEvent, NoteHitEvent, NoteUpdateEvent, PauseCreationEvent, PlayAnimEvent, PointEvent, RatingUpdateEvent, ResizeEvent, SimpleNoteEvent, StateEvent, StrumCreationEvent, WeekSelectEvent
Constructor
Variables
Methods
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 |
|---|
toString():String
Returns a string representation of the event, in this format:
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String