Reference setFrame()

setFrame()

Sets the current frame in an animated GIF.

Examples

Syntax

setFrame(index)

Parameters

index
Number:

index of the frame to display.

This page is generated from the comments in src/image/p5.Image.js . Please feel free to edit it and submit a pull request!

Related References