Codename LogoCodename Logo

funkin.backend.scripting.events.StageNodeEvent

APIWiki

Constructor

Variables

name:String

The name of the node, quicker access than e.node.name

node:Access

The node which is currently being parsed

sprite:Dynamic

The sprite which was parsed

stage:Stage

The stage instance

Methods

View in GitHub

recycle(stage:Stage, node:Access, sprite:Dynamic, name:String):StageNodeEvent

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

View in GitHub

@:value({ c : false })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