Phaser API Documentation

  Version: 
JSONAnimationFrame
Properties:
name type description
key string

The key of the Texture this AnimationFrame uses.

frame string | number

The key of the Frame within the Texture that this AnimationFrame uses.

duration number

Additional time (in ms) that this frame should appear for during playback.

Type:
object
Since: 3.0.0