Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Effects
- DragonvaleRocks
-
Scratcher
2 posts
Effects
Hi! I was wondering if there's a way to save effect data. For example, if I have a sprite with ghost effect 75, is there a block or anything that has that value?
This might be a little bit unclear, but essentially, if I have a sprite with an unknown ghost value, and I want to turn ghost effect to 70, stamp it, and then go back to the previous value, can I do that?
This might be a little bit unclear, but essentially, if I have a sprite with an unknown ghost value, and I want to turn ghost effect to 70, stamp it, and then go back to the previous value, can I do that?
- __evelyn
-
New Scratcher
100+ posts
Effects
I am not sure exactly 100% what your question is, but I guess variables could come in handy
- dertermenter
-
Scratcher
1000+ posts
Effects
but essentially, if I have a sprite with an unknown ghost value, and I want to turn ghost effect to 70, stamp it, and then go back to the previous value, can I do that?Like this?
set [ghost v] effect to (vairable) // This sets the random ghost affect value as a vairable
set [ghost v] effect to (75)
stamp
set [ghost v] effect to (variable) // sets ghost back to previous amount
- medians
-
Scratcher
1000+ posts
Effects
Well, there is no effect reporter, but you can do this:

Then, after stamping, revert back to the ghost effect variable.

Then, after stamping, revert back to the ghost effect variable.
Last edited by medians (April 3, 2023 00:25:50)
- DragonvaleRocks
-
Scratcher
2 posts
Effects
Well, there is no effect reporter, but you can do this:
Then, after stamping, revert back to the ghost effect variable.
Thank you, I’ll try that!
- Discussion Forums
- » Questions about Scratch
-
» Effects



