Scratch for Java

Sprite::think()

Displays a thought bubble with the specified text.

Syntax

Java

.think(text)
.think(text, millis)

Parameters

Name Data Type Description
text String The text to be displayed in the thought bubble.
millis int The duration in milliseconds for which the thought bubble will be displayed.

Return

void

think()