Scratch for Java

Sprite::ask()

Asks a question: the sprite says it in a bubble, and a box to type the answer in appears at the bottom of the stage. Enter finishes it; see Stage.ask(String).

Examples

View on GitHub

Syntax

Java

.ask(question)

Scratch

ask [question] and wait

Parameters

Name Data Type Description
question String the question

Return

void

ask()

Create Shareable URL

Select Sections