Scratch for Java

Text::showText()

Displays the specified text.

Syntax

Java

.showText(text)
.showText(text, millis)

Parameters

Name Data Type Description
text String The text to be displayed. If the text is null or empty, the text will be set to null.
millis int The duration in milliseconds for which the text should be displayed.

Return

void

showText()