Phaser API Documentation

  Version: 
AnimationFrame
Properties:
name type arguments description
key string <optional>

The key of the texture within the Texture Manager to use for this Animation Frame.

frame string | number <optional>

The key, or index number, of the frame within the texture to use for this Animation Frame.

duration number <optional>

The duration, in ms, of this frame of the animation.

visible boolean <optional>

Should the parent Game Object be visible during this frame of the animation?

Type:
object
Since: 3.0.0