I have a KEY under a layer of bricks.... so I was under impression that when that brick gets broken the key would be showing under that layer the key is on layer "0" and the bricks on layer "1" but when played and the bricks broken the key is not visable...
Is the Key and the layer visible? Is the brick layer transparent?
Develop games in your browser. Powerful, performant & highly capable.
Just put the key and brick on the same layer, make sure the Z order of the key is behind the brick.