Scratch for Java

UISprite::setWidth()

Sets the width of the sprite in pixels.

Syntax

Java

.setWidth(width)

Parameters

Name Data Type Description
width double the width in pixels

Return

void

setWidth()

Create Shareable URL

Select Sections