2 different layers and both have different objects. If Layer 2 (top layer) is not visible then objects on that layer are also invisible. Problem is that clicking on the same position where layer 2 object is, it still makes click on layer 2 object.
Other (maybe same problem) is that if both layers are visible and clicking on layer 2 (top layer) object makes also click on layer 1.
How to avoid clicking same time on different layers? Problem is that clicking on some top layer icon/object also makes click on bottom layer and player object is moving to that direction. I want only to make click on top layer object without moving player. Player moves to that position where I have made click on bottom layer. How to solve that?