The cube is the green one.
I wanted for instance press the left arrow and destroy only the left cube without destroying the others around it.
have a look at script to select object with mouse using mouse button, and then 3 lines to say when you press D, the selectedCollider.GameObject is destroyed.