Scratch for Java

Window::getWidth()

Gets the width of the window.

Syntax

Java

.getWidth()

Scratch

(width)

Return

float

getWidth()