Reference getCurrentFrame()

getCurrentFrame()

Gets the index of the current frame in an animated GIF.

Examples

Returns

Number: index of the GIF's current frame.
Notice any errors or typos? Please let us know. Please feel free to edit src/image/p5.Image.js and open a pull request!

Related References