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 and is a bit slower:
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)
For sprites |
Say () for () Secs • Say () • Think () for () Secs • Think () • Switch Costume to () • Next Costume • Switch Backdrop to () Next Backdrop • Change Size by () • Set Size to ()% • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Show • Hide • Go to () Layer • Go () () Layers • Costume # • Backdrop Number • Size
|
For the Stage |
Switch Backdrop to () • Switch Backdrop to () and Wait • Next Backdrop • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Backdrop # More blocks...
|