Scratch for Java

AnimatedSprite::setAnimationFrame()

Sets the current animation frame.

Examples

View on GitHub

Syntax

Java

.setAnimationFrame(frame)

Parameters

Name Data Type Description
frame int the current animation frame

Return

void

setAnimationFrame()

Create Shareable URL

Select Sections