Scratch for Java

GifRecorder::snapshot()

This works in a project you run on your own computer, but not in the examples you can start here in the browser. There is no file system, no video encoder and no OpenGL behind a web page, so calling it there tells you as much and does nothing.

Captures a snapshot and saves it as a GIF. This method starts the GIF encoder, saves the current frame, and then finishes the encoding process.

Syntax

Java

.snapshot()

Return

void

snapshot()

Create Shareable URL

Select Sections