Phaser API Documentation

  Version: 
playAnimation(key, [startFrame])

Description:

Plays an animation for all members of this group.

Parameters:

name type arguments description
key string

The string-based key of the animation to play.

startFrame string <optional>

Optionally start the animation playing from this frame index.

Returns:
Description:

This Group object.

Since: 3.0.0