Data for a single prop for a story mode level.

Fields

@:default("")@:optionaloptionalstartingAnimation:Null<String>

* If animations are used, this is the name of the animation to play first. * @default idle

@:default(1.0)@:optionaloptionalscale:Null<Float>

* The scale to render the prop at. * @default 1.0

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

* The offset on the position to render the prop at. * @default [0.0, 0.0]

@:default(false)@:optionaloptionalisPixel:Null<Bool>

* If true, the prop is a pixel sprite, and will be rendered without smoothing.

@:default(false)@:optionaloptionalflipX:Null<Bool>

* Flips the sprite on X axis.

@:default(1.0)@:optionaloptionaldanceEvery:Null<Float>

* The frequency to bop at, in beats. * 1 = every beat, 2 = every other beat, etc. * Supports up to 0.25 precision. * @default 1.0

assetPath:String

* The image to use for the prop. May optionally be a sprite sheet.

@:default([])@:optionaloptionalanimations:Null<Array<AnimationData>>

* A set of animations to play on the prop. * If default/empty, the prop will be static.

@:default(1.0)@:optionaloptionalalpha:Null<Float>

* The opacity to render the prop at. * @default 1.0