Discuss Scratch
- Discussion Forums
- » New Scratchers
- » Coding a Backdrop
- TheologyBMHS
-
Teacher
3 posts
Coding a Backdrop
I am new to Scratch and I have a question. Why is it that when I create a code on one backdrop the code appears on all the other backdrops? If I change the code on one backdrop, it changes the code of all the other backdrops. So what I am experiencing is the same code for all backdrops. Please help me understand this! Thanks!
- Troyer_Kem
-
Scratcher
1000+ posts
Coding a Backdrop
I am new to Scratch and I have a question. Why is it that when I create a code on one backdrop the code appears on all the other backdrops? If I change the code on one backdrop, it changes the code of all the other backdrops. So what I am experiencing is the same code for all backdrops. Please help me understand this! Thanks!First, welcome to Scratch!
Answer Of Your Questions: Stage backdrops are like costumes. You can't create different codes for each backdrop. But you can do this:
when green flag clicked
forever
if <(backdrop [name v] :: looks) = [Any Backdrop You Select]> then
... :: grey // These 3 dots mean you can put different blocks here.
end
end
Last edited by Troyer_Kem (July 3, 2019 07:15:23)
- TheologyBMHS
-
Teacher
3 posts
Coding a Backdrop
Thank you so much for your reply. It helped me to understand when you commented that “Stage backdrops are like costumes.”
- smoo_dog
-
Scratcher
19 posts
Coding a Backdrop
How do you make the coding wait entell a certain backdrop shows and then show sprites? What is the coding for that?
- joshuaho
-
Scratcher
1000+ posts
Coding a Backdrop
How do you make the coding wait entell a certain backdrop shows and then show sprites? What is the coding for that?Welcome to the Scratch forums! Here's a simple script that might help (applies to the sprite):
when green flag clicked
hide//The sprite hides until the a certain backdrop shows.
when backdrop switches to [backdrop v]//Tells the sprite to wait until the certain backdrop shows
show
I'd like to point out that this topic itself is pretty old and outdated - so I'm guessing that no one is watching this thread anymore. However, if you have anymore questions about scripting, please feel free to create a new topic in the Help with Scripts forum.

Last edited by joshuaho (Jan. 13, 2020 03:29:23)
- Discussion Forums
- » New Scratchers
-
» Coding a Backdrop



