I have several layers with drag and droppable object in each of them.
I set the one I want the user to play on to vissible, and the other ones to invisible.
It looks as expected BUT ... it seems that even if the layer is not visible, the objects from the layers above are still 'effective'.
If I try to drag and drop an object from the visible layer, some object from other invisible layers on top are still dragable, so I have to move them away before being able to move the object that is visible.
So basically it seems that object on layers invisible are still active.
Is there a way to 'desactivate' a layer? so it's invisible AND the object within the layer are not active/usable?
Disable D&D for all objects which are not on a visible layer.
Develop games in your browser. Powerful, performant & highly capable.
Thx a lot, it fixes my issue :)