Scratch for Java

Stage::setTransparency()

Scratch's ghost effect on the backdrop: the stage colour shows through.

Examples

View on GitHub

Syntax

Java

.setTransparency(percent)

Scratch

set [ghost v] effect to (transparency)

Parameters

Name Data Type Description
percent double 0 opaque, 100 invisible

Return

void

setTransparency()

Create Shareable URL

Select Sections