Scratch for Java

FrameRecorder::saveFrame()

Browser availability: desktop-only.

This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.

Saves the current frame of the applet to the specified output folder. The frame is saved as a PNG file with a filename pattern "#######.png". The exact filename will be generated based on the current frame number.

Syntax

Java

.saveFrame()

Return

void

saveFrame()

Create Shareable URL

Select Sections