Scratch for Java

Widget::setEnabled()

A disabled widget is drawn faded and cannot get the focus or be pressed.

Syntax

Java

.setEnabled(enabled)

Parameters

Name Data Type Description
enabled boolean whether players can use it

Return

void

setEnabled()

Create Shareable URL

Select Sections