Right now i am making game, and i thougth to make game inventory screen on separate layer, so i can easy show it and hide it when i need it, but i have problem with this method. Even if layer is hidden i can still click on the items from that layer and if clicked object have events that events will run. Is there any way to prevent this or what do you think what is the best method to this inventory showing and hiding?
Develop games in your browser. Powerful, performant & highly capable.
That helped me a lot!