Disable a layer?

Get help using Construct 2

Post » Sat Nov 02, 2013 1:03 pm

Hi,

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?


Thanks
B
10
S
2
Posts: 40
Reputation: 786

Post » Sat Nov 02, 2013 1:30 pm

Try this:
Disable D&D for all objects which are not on a visible layer.
B
14
S
3
G
1
Posts: 255
Reputation: 2,027

Post » Sat Nov 02, 2013 1:40 pm

Thx a lot, it fixes my issue :)
B
10
S
2
Posts: 40
Reputation: 786


Return to How do I....?

Who is online

Users browsing this forum: stevenode and 10 guests