Scratch for Java

Stage()

The Stage class represents a stage where various elements such as sprites, texts, pens, and backdrops can be added and manipulated. It provides methods to manage these elements, handle events, and control the stage's appearance and behavior.

Examples

View on GitHub

Syntax

Java

new Stage()
new Stage(width, height)
new Stage(width, height, assets)
Stage()

Create Shareable URL

Select Sections