Fields

@:optional@:default(0)optionalzIndex:Null<Int>

* A number determining the stack order of the character, relative to props and other characters in the stage. * Again, just like CSS. * @default 0

@:optional@:default([1, 1])optionalscroll:Null<Array<Float>>

* How much the character scrolls relative to the camera. Used to create a parallax effect. * Represented as an [x, y] array of two floats. * [1, 1] means the character moves 1:1 with the camera. * [0.5, 0.5] means the character moves half as much as the camera. * [0, 0] means the character is not moved. * @default [1, 1]

@:optional@:default(1)optionalscale:Null<Float>

* The scale to render the character at.

@:optional@:default([0, 0])optionalposition:Null<Array<Float>>

* The position to render the character at.

@:optionaloptionalcameraOffsets:Null<Array<Float>>

* The camera offsets to apply when focusing on the character on this stage. * @default [-100, -100] for BF, [100, -100] for DAD/OPPONENT, [0, 0] for GF

@:optional@:default(0.0)optionalangle:Null<Float>

* The angle of the character, as a float. * @default 0.0

@:optional@:default(1.0)optionalalpha:Null<Float>

* The alpha of the character, as a float. * @default 1.0