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

#1 2009-11-14 10:02:58

apio
Scratcher
Registered: 2009-11-12
Posts: 4

Hiding sprites

Does anyone know the code I need to make a sprite appear for just one screen?
Cheers.

Offline

 

#2 2009-11-14 10:13:26

BWOG
Scratcher
Registered: 2008-09-19
Posts: 1000+

Re: Hiding sprites

if <(variable) = (1) >
[show]
else
[hide]
end if

Offline

 

#3 2009-11-14 18:35:20

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: Hiding sprites

this block  makes the sprite show

<show>

and this block makes the sprite hide

<hide>

Last edited by Flait7 (2009-11-14 18:35:38)


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

Board footer