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

#1 2010-07-08 11:48:32

Gveradux
Scratcher
Registered: 2010-06-18
Posts: 100+

I need help with sensing...

I want my sprite to bounce if it's touching the top or the bottom of the stage

Offline

 

#2 2010-07-08 13:11:30

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: I need help with sensing...

Once you've decided how you want to sense that the sprite is touching the top or bottom of the stage (using Y-position of the sprite or sprite sensing or maybe the If Touching Edge sensor) then just set the direction of the sprite using:

   Point in direction (90 + (90 - Direction))


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2010-07-08 13:25:30

TeleHelp
New Scratcher
Registered: 2010-07-08
Posts: 1

Re: I need help with sensing...

I've uploaded a project. Does this fix your problem?
http://scratch.mit.edu/projects/TeleHelp/1179245

Offline

 

Board footer