I'm progamming a game, where a square jumps from Platform to Platform.
To complete the Level the square has to touch a repainter. This repainter changes the color from that square to another.
To complete the Level the square has to get a specific color.
How do I check if the color from the square has this color(e.g. Green)?

