Scratch for Java

Window::getWidth()

Retrieves the width of the current window.

Syntax

Java

.getWidth()

Return

int

getWidth()