Scratch for Java

Camera::setZoom()

Sets the zoom in percent: 200 shows everything twice as large, 50 half as large. It stays within the zoom limits (50 to 200 unless changed).

Examples

View on GitHub

Syntax

Java

.setZoom(zoom)

Parameters

Name Data Type Description
zoom double the zoom in percent

Return

void

setZoom()

Create Shareable URL

Select Sections