Scratch for Java

Stage::wait()

Stop the execution of the whole applications for the given milliseconds.

Syntax

Java

.wait(millis)

Parameters

Name Data Type Description
millis int Milliseconds

Return

void

wait()