Discuss Scratch

ec-99
Scratcher
2 posts

confused with 'color touching color ?' block

hello,
Today I have used the ‘color touching color ?’ block in scratch and it is not working the way it should work .

when I put in my color (red) and my other color (gray) those colors on screen when they touch nothing happens.
what is supposed to happen is that when the red touches the grey, the sprite goes to y: 0 x: 189 but this is not happening.
awesome-llama
Scratcher
1000+ posts

confused with 'color touching color ?' block

Maybe you've placed the touching block in the wrong sprite?

<color [#ff0000] is touching [#888888] ?> // True if the red part of the sprite it is in touches any grey in the screen.
RL1123
Scratcher
1000+ posts

confused with 'color touching color ?' block

ec-99 wrote:

hello,
Today I have used the ‘color touching color ?’ block in scratch and it is not working the way it should work .

when I put in my color (red) and my other color (gray) those colors on screen when they touch nothing happens.
what is supposed to happen is that when the red touches the grey, the sprite goes to y: 0 x: 189 but this is not happening.
Maybe your shade of red/grey isn't correct? You should use the eyedropper tool to get the correct colors.
lisagu
Scratcher
79 posts

confused with 'color touching color ?' block

rayli1123 wrote:

ec-99 wrote:

hello,
Today I have used the ‘color touching color ?’ block in scratch and it is not working the way it should work .

when I put in my color (red) and my other color (gray) those colors on screen when they touch nothing happens.
what is supposed to happen is that when the red touches the grey, the sprite goes to y: 0 x: 189 but this is not happening.
Maybe your shade of red/grey isn't correct? You should use the eyedropper tool to get the correct colors.
Sometimes Eye dropper tools aren't exactly accurate
RL1123
Scratcher
1000+ posts

confused with 'color touching color ?' block

lisagu wrote:

rayli1123 wrote:

ec-99 wrote:

hello,
Today I have used the ‘color touching color ?’ block in scratch and it is not working the way it should work .

when I put in my color (red) and my other color (gray) those colors on screen when they touch nothing happens.
what is supposed to happen is that when the red touches the grey, the sprite goes to y: 0 x: 189 but this is not happening.
Maybe your shade of red/grey isn't correct? You should use the eyedropper tool to get the correct colors.
Sometimes Eye dropper tools aren't exactly accurate
It's more accurate and quicker to use the eyedropper than to eyeball the color on screen and hope that it's right.
ec-99
Scratcher
2 posts

confused with 'color touching color ?' block

ok. thx for the help
lion334
Scratcher
100+ posts

confused with 'color touching color ?' block

ec-99 wrote:

ok. thx for the help
You took yourself around 9 months to respond “ok. thx for the help

I mean it's ok.
Go ahead
Tunde123
Scratcher
1000+ posts

confused with 'color touching color ?' block

ec-99 wrote:

ok. thx for the help
Please do not necropost.

Powered by DjangoBB