I'm having sort of a problem with the functionality of my game. So I have buttons to move between screens which are all on a single layer. This layer is global obviously because I need the same buttons on every screen. The problem is, maybe because the layer is global, and that makes the objects on it the same instance, when I click on the spot where the button is on the screen on one layout (the button is not appearing, it's layer is invisible), the screen still changes to the layout of the button in that supposed position.
Example:
Layout: Game
Layer "Screens" is Invisible
Click the spot where "Menu" button (layer: screens) is supposed to appear
Goes to Menu screen
I am almost sure it is not a problem on the code, because that would be the way I would have done it in any other situation, does anybody have any clue?