Object color touching

Is there a way to run a certain action when a object touches a color?

Yes, but you need to provide more details. Are you talking object color or pixel color? Both are possible.

Pixel color, so for example, when player touches the color blue then it deletes him

I’m still not sure what your making.

If you want the individual pixel there’s an extension to read the RGB, you then combine it.

If you just want to know if an object is red then you can check the object’s animation. Create an object with an animation for each color that you want to use. Set the animation for the color you want either directly or using Random() then when the object is clicked or collided with then check the animation.