Discuss Scratch

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 #) = [...]>> then
switch backdrop to [ v]
end
you might need to move the sprite to not be touching edge or add a wait until not touching edge to prevent double triggering.

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.

Powered by DjangoBB