Scratch for Java

DrawingSprite::draw()

Draws the sprite; called every frame on the game thread.

Examples

View on GitHub

Syntax

Java

.draw(drawing)

Parameters

Name Data Type Description
drawing Drawing what to draw with, in the sprite's own coordinates

Return

void

draw()

Create Shareable URL

Select Sections