From Test-Scratch-Wiki
Clear Graphic Effects | |
Category | Looks |
Type | Stack |
The Clear Graphic Effects block is a Looks block and a Stack block. This block resets all 7 graphic effects (color, fisheye, whirl, pixelate, mosaic, brightness and ghost) on its sprite.
Example Uses
As this block resets all effects on its sprite, it is used whenever all effects must be reset. Some common uses:
- When a sprite has to reset itself, going to the X and Y position and clearing its effects
- When a painting has to reset its look
- When an object deformed by effects changes its look
- Simply undoing effects
Workaround
- Main article: List of Block Workarounds
This block can be replicated with the following code, although it is usually somewhat impractical to do so:
set [color v] effect to (0) set [fisheye v] effect to (0) set [whirl v] effect to (0) set [pixelate v] effect to (0) set [mosaic v] effect to (0) set [brightness v] effect to (0) set [ghost v] effect to (0)
This is a bit slower than simply using the block.
For sprites |
Say () for () Secs
• Say () • Think () for () Secs • Think () • Show • Hide • Switch Costume to () • Next Costume • Switch Backdrop to () • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Change Size by () • Set Size to ()% • Go to Front • Go Back () Layers • Costume # • Backdrop Name • Size |
For the Stage |