Scratch for Java

UISprite::changeWidth()

Changes the width of the sprite by the given number of pixels.

Syntax

Java

.changeWidth(amount)

Parameters

Name Data Type Description
amount double how many pixels to add to the width

Return

void

changeWidth()

Create Shareable URL

Select Sections