set (color) effect to (0) — Scratch Block Guide
Sets a specific graphic effect directly to a target value.
What this block does
Sets a specific graphic effect directly to a target value.
Flash a boss white with brightness = 50 on damage, then return to 0.
- Category: Looks Blocks
- Key tip: Ghost = 0 is fully visible; ghost = 100 is completely transparent.
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Set brightness effect to 50
- Wait 0.1 seconds
- Set brightness effect to 0
Try it: Creates a crisp white hit-flash feedback.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "set (color) effect to (0)" in Scratch?
Flash a boss white with brightness = 50 on damage, then return to 0. Ghost = 0 is fully visible; ghost = 100 is completely transparent.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.