From Test-Scratch-Wiki

Clear Graphic Effects
2.0 Clear Graphic Effects.png
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.

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