Phaser API Documentation

frameTotal: number


The total number of Frames in this Texture, including the __BASE frame.

A Texture will always contain at least 1 frame because every Texture contains a __BASE frame by default, in addition to any extra frames that have been added to it, such as when parsing a Sprite Sheet or Texture Atlas.

Default: 0
Since: 3.0.0
Source: src/textures/Texture.js (Line 117)