Sprite collided with color

Hi, I'v read the post To make make sprite collide with certain color in background image but it didn't help me a lot. I took the Maze game and changed it. Unfortunately I can't intercept the sprite when it collides black.
I don't know how to solve this problem. If you see in the blocks all the 5 labels well but the second IF of the PLAYER1 COLIDEDWITH block does not work.
What should I insert in Elseif?
thank you all for the help

sprite collided with color 1

1 Like

From a quick look, the player1 is not colliding with anything when it goes over the black part of the canvas therefore the event is not fired.

1 Like

I do not believe the sprite is being dragged, it is being moved by tilting the device.

My bad, sorry.
image

You may want to use the above instead, @beeth.

1 Like

For example:

2 Likes

OK thank you. I will try to move the "black color = touch_color" event, inside a clock.