Hi, its me again
This is my idea i want to create:
1. The black ball can be moved and the square in the left upper corner is telling the player which colour he should reach to get a point. If you touch the yellow or green box the game is over.
2. If the blue box is right, the square in the left upper corner should randomly change its colour to green, blue or yellow. In this example its green and the player again should reach the green box.
I hope you guys know what i mean ^^
The problem is i have no idea how to do it... How can i check if it is the right colour and then change it to the next one?
Thank you very much