Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Inverting colors
- MAGMA-TOONS
-
Scratcher
1 post
Inverting colors
How do you invert colors with variables? I want the walls to be the opposite of the player and I tried this
forever
change [color] effect by (((color) - (255)))
end
- loadingwaitamin
-
Scratcher
4 posts
Inverting colors
Try this:set [color v] effect to ((100) + (color))
If “color” is a variable, then “color” could be anything. So there might be another way, like finding and testing.
For example:
set [color v] to [any number]
set [color v] effect to (color)
- Discussion Forums
- » Help with Scripts
-
» Inverting colors


