Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Moving and switching background
- Gum_Box
- New to Scratch
5 posts
Moving and switching background
Hi, how do I make it so that when my sprite moves to the edge of my background and the background is a certain costume it changes to different backgrounds? Thanks for helping!
- Catscratcher07
- Scratcher
1000+ posts
Moving and switching background
if <<touching [edge v] ?> and <(backdrop #) = [...]>> thenyou might need to move the sprite to not be touching edge or add a wait until not touching edge to prevent double triggering.
switch backdrop to [ v]
end
trouble with clones? view my clone id toolbox! I also have built the bases of a tower defence game link here.
If someone on help with scripts is saying that something can't be done, they should be suspected of being a team limit grunt.
- Discussion Forums
- » Help with Scripts
- » Moving and switching background