Interface

LoadSpriteOpt

:

Sprite loading configuration.

sliceX

?: number

If the defined area contains multiple sprites, how many frames are in the area horizontally.

sliceY

?: number

If the defined area contains multiple sprites, how many frames are in the area vertically.

slice9

?: NineSlice

9 slice sprite for proportional scaling.

since v3000.0

frames

?: Quad[]

Individual frames.

since v3000.0

anims

?: SpriteAnims

Animation configuration.

singular

?: boolean

If the sprite is a single image.

kaplay logo

Layer

Miscalenous