Scratch for Java

Choice::setSelected()

Syntax

Java

.setSelected(option)

Parameters

Name Data Type Description
option String the option to choose; one it does not have is ignored. whenChanged(String) is not called

Return

void

setSelected()

Create Shareable URL

Select Sections