Codename LogoCodename Logo

funkin.backend.scripting.events.CamMoveEvent

APIWiki

Constructor

Variables

focusedCharacters:Int

Number of focused characters

position:FlxPoint

Final camera position.

strumLine:StrumLine

Currently focused strumline.

Methods

View in GitHub

recycle(position:FlxPoint, strumLine:StrumLine, focusedCharacters:Int):CamMoveEvent

Inherited Variables

Defined by CancellableEvent

data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

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

toString():String

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

Returns:

String