From Test-Scratch-Wiki

Archive.png This article or section documents a feature not included in the current version of Scratch (3.0). It is only useful from a historical perspective.


Stamp Transparent ()
Stamp Transparent ().png
Category Pen
Type Stack
Introduced in 2.0 prealpha
Removed in 2.0 alpha
Stamps with transparency values 20, 50, 80 (top row, left to right) and unaltered (bottom)

The Stamp Transparent () block was a Pen block and a Stack block. When used in a script, the sprite would produce a partially transparent image of itself, which would be stamped stamped onto the Stage. The amount of transparency in the stamp depended on the value. As the value increased, so did the amount of transparency. The image could not be programmed as it was not considered a sprite — it was simply an image. Like other pen blocks, the stamp block would not stamp over other sprites. Its marks could not be removed with the Clear block.

This block was only available in the 2.0 prealpha from Scratch Day 2011. It was removed to minimize the amount of blocks[citation needed] and its functionality is included in the Stamp block using the amount of the ghost graphic effect for the sprite.[1]


Workaround

The block can still be done in Scratch 2.0 with the following code:

set [ghost v] effect to (50)
stamp
clear graphic effects

or

set [ghost v] effect to (50)
stamp
set [ghost v] effect to (0)

or

set [ghost effect v] to (...)
set [ghost v] effect to (ghost effect)

set [ghost v] effect to (50)
stamp
set [ghost v] effect to (ghost effect)

References

Cookies help us deliver our services. By using our services, you agree to our use of cookies.