Scratch for Java

Choice::whenChanged()

Called when the player chooses another option (not by setSelected(String)).

Examples

View on GitHub

Syntax

Java

.whenChanged(option)

Parameters

Name Data Type Description
option String the option chosen now

Return

void

whenChanged()

Create Shareable URL

Select Sections