SpriteDirectionData: {
    looping: boolean;
    sprites: SpriteFrameData[];
    timeBetweenFrames: float;
}

Represents the data of a gdjs.SpriteAnimationDirection.

Type declaration

  • looping: boolean

    Is the animation looping?

  • sprites: SpriteFrameData[]

    The list of frames.

  • timeBetweenFrames: float

    Time between each frame, in seconds.