Window::setDebug()
Debug mode shows what its panel in the bottom right corner has ticked: hitboxes, positions,
the mouse and camera, touching pairs, hidden sprites, the clones and the frame rate, and it
lets debug(\u2026) print. F12 switches it too, and -Dscratch4j.debug=\u2026 presets
which options are on.
Examples
Syntax
Java
.setDebug(debug)
Parameters
| Name | Data Type | Description |
|---|---|---|
| debug | boolean | on or off |
Return
void