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

#1 2012-04-25 13:08:17

legallick
New Scratcher
Registered: 2012-02-15
Posts: 1

Help!!

I have two things I need help with...

1. Whenever the sprite is in the top 25% of the computer screen I want it to say "I like it up here"

2. Whenever I click the background, a flower appears at that spot.

How would I do these things? Thanks!  smile

Offline

 

#2 2012-04-25 13:46:15

xJira
Scratcher
Registered: 2012-03-24
Posts: 91

Re: Help!!

1.

when gf clicked
forever
if < (y Position) > [90] >
say [I like it up here!]
else
say [ ]
end
end
If the object is in the top 25% of the computer screen, it says something, else it says nothing.

2.
when gf clicked
forever
wait until <mouse down?>
go to [mouse-pointer v]
show
stamp
hide
end
end
The flower-object waits until the mouse is down, then goes to the mouse-pointer position, shows, stamps (a flower appears) and hides again  smile

Last edited by xJira (2012-04-25 13:47:01)

Offline

 

Board footer