It's like this:
<color [#FF0000] is touching [sprite v]?>I think there should be a block like this. The stage could sense sprites and stuff like that. An example would be there's a color on part of the stage. And if a sprite is touching that color, it would do its action. What do you guys think? Scratch On!
Offline
This would make it much easier to make my OS, where it needs to sense when the mouse is touching the red cross to close the window.
Support.
Offline
Good idea. I think that MIT should put that in Scratch 2.0
Offline
dvd4 wrote:
It would really help with a lot of projects. Support.
@machinespray: I think it's ST not MIT.
Scratch is made by the Scratch team who work at MIT. It's a project of MIT.
Offline
[agree]
(That means I agree and [/agree] means I disagree.)
Offline
Sprite 1
when gf clicked forever if <touching color [#39207F]?> broadcast [touched v] stop script endSprite 2when I receive [touched v] YOUR Code HERE
That is a workaround.
Last edited by machinespray (2013-04-07 09:32:53)
Offline
I think that maybe you could create this:
<[Pulldown of all sprites]<>
Offline
Scratch12300 wrote:
I think that maybe you could create this instead:
<[Pulldown of all sprites]<>
Oops, sorry, made a mistake! I meant (for example):
<[Sprite1 v] <touching color [(color here)]>>or
<[Sprite1 v] <(x position) = [50]>>but if it contains a global variable such as
<[Sprite1 v] <(variable1) = [100]>>it works the same as without the block
<[Sprite1 v] <>because that enables more.
Offline