Scratch for Java

Sprite::setTransparency()

Sets the transparency of the sprite.

Syntax

Java

.setTransparency(transparency)

Parameters

Name Data Type Description
transparency double 0 full transparency, 255 no transparency

Return

void

setTransparency()