Is there an "if touching color? = (color)" block?

I know there is touching sprite block, but I can't find a touching color block.

image

image

I showed the latter in the example I provided in your other topic:

Here it monitors the location of the sprite and the background colour behind it, then does something if the color is not -1 = white = 255,255,255,255.

1 Like

1Touchtest.aia (10.4 KB)
It only floats at the top of canvas.

Did you try my aia ?

You need to use getBackgroundPixelColor...

Why it dosen't work on GetPixelColor?

Because it returns the colour of the ball, not the background.