How can i achieve the following:
I have a sprite ( a block ) in the colour of say blue and i have another identical sprite on top of it with a colour of say red with it's visibility set to invisible.
I create a floor or platform of these blue blocks and when the player walks over them they turn red by setting the red blocks visibility to visible.
When i try this, all the blocks turn red instead of just the one the player touched.
I'm a little confused as to how i set each block to change colour one at a time.