Discuss Scratch

EthanH753
Scratcher
3 posts

mouse touching color

hi, how do I set it in scratch 3.0 that if the mouse touches certain color it does something?

Last edited by EthanH753 (April 12, 2021 12:06:41)

Vibrato
Scratcher
1000+ posts

mouse touching color

I don't think there's a way to do that, but you can put a script like this in a sprite (make sure it is a tiny costume though)

forever
go to [mouse-pointer v]
if <touching color [#199066] ?> then
...
end
end
HACKER385
Scratcher
2 posts

mouse touching color

I think

forever
if <touching [ v] ?> then
do something
end
end
Escapetheroom_HACKED
Scratcher
15 posts

mouse touching color

Vibrato wrote:

I don't think there's a way to do that, but you can put a script like this in a sprite (make sure it is a tiny costume though)

forever
go to [mouse-pointer v]
if <touching color [#199066] ?> then
...
end
end
yeah!

Powered by DjangoBB