Scratch for Java

Window::setDebug()

Enables or disables the debug mode for the application.

Debug mode shows sprite positions, hitboxes, and other debug information. It can also be toggled at runtime by pressing F12.

Syntax

Java

.setDebug(debug)

Parameters

Name Data Type Description
debug boolean a boolean value where `true` enables debug mode and `false` disables it.

Return

void

setDebug()

Create Shareable URL

Select Sections