Scratch for Java

Stage::setTransparency()

Sets how see-through the backdrop is, as Scratch's ghost effect does: 0 is the solid backdrop you start with and 100 is invisible.

Examples

View on GitHub

Syntax

Java

.setTransparency(transparency)

Scratch

set [ghost v] effect to (transparency)

Parameters

Name Data Type Description
transparency double [0...100], 0 solid and 100 invisible

Return

void

setTransparency()

Create Shareable URL

Select Sections