Sprite::setTransparency()
Sets how see-through the sprite is, as Scratch's ghost effect does: 0 is the solid sprite you start with and 100 is invisible. Anything outside that is pinned to it.
Examples
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