m (Fixed 1 style guideline)
m (sb)
Line 1: Line 1:
|name      = Clear Graphic Effects
|name      = Clear Graphic Effects
|image      = File:2.0 Clear Graphic Effects.png
|image      = clear graphic effects
|imagewidth = 144
|sb        = yes
|category  = [[Looks Blocks|Looks]]
|category  = [[Looks Blocks|Looks]]
|type      = [[Stack Block|Stack]]
|type      = [[Stack Block|Stack]]

Latest revision as of 13:39, 10 December 2019

Clear Graphic Effects
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


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)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.