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

#1 2011-02-09 13:33:05

Betagold
New Scratcher
Registered: 2011-02-09
Posts: 2

Recognizing Size

I'm looking to have something react to the size that something is.  Is there a way to do this, an "If, Else" statement that reacts to the size of a sprite?

Offline

 

#2 2011-02-09 13:40:32

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Recognizing Size

[blocks]<if><(<size> = <{ the size you want }> )>
   do the stuff
<else>
   do other stuff[/blocks]

Offline

 

#3 2011-02-09 13:47:10

Betagold
New Scratcher
Registered: 2011-02-09
Posts: 2

Re: Recognizing Size

Thanks so much.  This is exactly what I needed.

Offline

 

#4 2011-02-09 13:49:28

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Recognizing Size

You're welcome.

Offline

 

Board footer