This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-02-21 18:10:32

Jager72
New Scratcher
Registered: 2013-02-15
Posts: 4

Sprite Help

Hi. I recently learned how to switch backgrounds. When I switch to a different background, the sprites are still there, but I would not like them to be. How could I fix this? Thanks!

Offline

 

#2 2013-02-21 19:47:20

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Sprite Help

Well, you can put this in the sprites that you want to disappear:

forever
if < < [background # v] of [stage v] > = (2) > // Or whatever the stage number is..
hide
end
end
Hope that helps,

CAA14

Last edited by CAA14 (2013-02-21 19:47:39)

Offline

 

#3 2013-02-21 20:28:05

piguillaud
Scratcher
Registered: 2010-06-19
Posts: 100+

Re: Sprite Help

forever
if <<[background #] of [stage]> = [2]>
hide
else
show

Offline

 

#4 2013-03-16 19:11:04

Jager72
New Scratcher
Registered: 2013-02-15
Posts: 4

Re: Sprite Help

Thanks, guys. Just looked back at this for a new game that I am making. I appreciate your help.

Offline

 

Board footer