Scratch for Java

Stage::setRun()

Sets the main logic of the stage to be executed during each frame.

Syntax

Java

.setRun(run)

Parameters

Name Data Type Description
run RunHandler the RunHandler that defines the main logic of the stage

Return

void

setRun()