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

#1 2008-04-22 18:31:13

Doraemon831
Scratcher
Registered: 2008-04-21
Posts: 7

Numbers

I'm trying to make this game, and i need a sprite to change to a costume when the mouse x-position is -80 to 80, but if i do (Mouse X >-80) (Mouse X<80) it counts it as the whole screen HELP

Offline

 

#2 2008-04-23 11:58:14

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: Numbers

I think it should work. Does your script look something like:

If

Mouse X < 80 and Mouse X > -80

Switch to costume...

It could be a problem with the costume you are trying to change to. You could check to see if the costume you want to change it to is what you put.

Offline

 

#3 2008-04-23 15:39:37

Doraemon831
Scratcher
Registered: 2008-04-21
Posts: 7

Re: Numbers

oh yeah! thx sooooooooooooo much

Offline

 

#4 2008-04-23 16:04:32

Doraemon831
Scratcher
Registered: 2008-04-21
Posts: 7

Re: Numbers

wait, that's not working

Offline

 

#5 2008-04-23 16:52:00

Zelda123
Scratcher
Registered: 2007-11-21
Posts: 1000+

Re: Numbers

You could try uploading what you have, and I will take it look at it and try to find the problem.

Offline

 

#6 2008-04-23 18:16:19

Doraemon831
Scratcher
Registered: 2008-04-21
Posts: 7

Re: Numbers

EVERYONE I FIXED IT SO DON'T REPLY ANYMORE BUT THANK YOU SOOOOOOO MUCH ZELDA123  smile

Offline

 

Board footer