This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » New Scratchers
  •  » When you change background how do you make your sprites disappear

#1 2012-01-26 13:09:28

11srus
New Scratcher
Registered: 2012-01-26
Posts: 1

When you change background how do you make your sprites disappear

i'm doing his project and i need to change my background but i don't know how to remove the sprites but not like deleting them just for like when i change the background

Offline

 

#2 2012-01-26 13:13:20

iampie
Scratcher
Registered: 2011-10-30
Posts: 72

Re: When you change background how do you make your sprites disappear

use the hide block


Don't tell me I've lost my sanity...can't lose what you never had.  tongue http://tinyurl.com/7m32p3u

Offline

 

#3 2012-01-26 13:34:15

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: When you change background how do you make your sprites disappear

When the background changes, broadcast "Background changed" or something like that. Then, on the sprites that need to hide, put:

When green flag clicked
Show

When I receive "Background changed"
Hide


Why

Offline

 

#4 2012-01-26 14:36:04

mewkid
Scratcher
Registered: 2010-08-16
Posts: 100+

Re: When you change background how do you make your sprites disappear

use the <hide> block for that. When you want the sprites to reappear, use the <show> block  wink

Offline

 
  • Index
  •  » New Scratchers
  •  » When you change background how do you make your sprites disappear

Board footer