Discuss Scratch

dragon6555
Scratcher
11 posts

How would an action wait until graphic effect is 0?

Hi everyone,
How would I make the following code wait until the ghost effect is 0, as I cannot use a variable for the ghost as there isn’t a preset. PLEASE HELP!
This is the code I want to make:
forever
if <ghost effect 0> then
Blah blah blah
end
end
Scratch-Minion
Scratcher
1000+ posts

How would an action wait until graphic effect is 0?

Make a variable called Ghost.
Every time you change the Ghost Effect, change the variable Ghost by the same amount.

Test when this value Ghost = 0.
(You can choose not to use a forever loop, but instead check the new value of the variable Ghost every time you change it)

Powered by DjangoBB