play(name, frameRate, loop, killOnComplete) → {
next(quantity) Advances by the given number of frames in the current animation, taking the loop value
previous(quantity) Moves backwards the given number of frames in the Animation, taking the loop value
setTrim(trimmed, actualWidth, actualHeight, destX, destY, destWidth, destHeight) If the frame was trimmed when added to the Texture
name : string Useful for Texture Atlas files (is set to the filename value). Source
destroy() Cleans up this animation ready for deletion. Nulls all values and references. Source
resize(width, height) Adjusts of all the Frame properties based on the given width and height values. Parameters
getRect(out) → {Phaser.Rectangle}
sourceSizeW : number Width of the original sprite before it was trimmed. Source
[readonly] frameTotal : number The total number of frames in the currently loaded FrameData
Page 4 of 11