Constructor

new(pressed:Array<Bool>, justPressed:Array<Bool>, justReleased:Array<Bool>)

Variables

justPressed:Array<Bool>

Array containing whenever a specific control was pressed (not hold) this frame or not. For example, justPressed[0] will return whenever the left strum was just pressed.

justReleased:Array<Bool>

Array containing whenever a specific control was released this frame or not. For example, justReleased[0] will return whenever the left strum was just released.

pressed:Array<Bool>

Array containing whenever a specific control is pressed or not. For example, pressed[0] will return whenever the left strum was pressed.

Inherited Variables

Defined by CancellableEvent

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

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

@:value({ c : false })preventDefault(c:Bool = false):Void

Prevents default action from occuring.

Parameters:

c

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

toString():String

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

Returns:

String