Phaser API Documentation

frameRate: number


The frame rate of playback, of the current animation, in frames per second.

This value is set when a new animation is loaded into this component and should be treated as read-only, as changing it once playback has started will not alter the animation. To change the frame rate, provide a new value in the PlayAnimationConfig object.

Default: 0
Since: 3.0.0