Phaser API Documentation

  Version: 
addFrame(config)

Description:

Add frames to the end of the animation.

Parameters:

name type description
config string | Array.<Phaser.Types.Animations.AnimationFrame>

Either a string, in which case it will use all frames from a texture with the matching key, or an array of Animation Frame configuration objects.

Returns:
Description:

This Animation object.

Since: 3.0.0