Reference setFrame()

setFrame()

Sets the current frame in an animated GIF.

Examples

Syntax

setFrame(index)

Parameters

index

index of the frame to display.

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