I have multiple objets in same position, each on different layer. Only one layer is visible, rest invisible. My question is why mouseover affect even on invisible layers. Can I avoid that, any ideas?
layer1 invisible object1
layer2 visible -want to create object2 if cursor isn't over object1(and should work becouse there is no object1 on that layer, but nothing happened)
Add the condition "object | Is visible" to your mouseover condition
7Soul Another example:
layer1 invisible object
layer2 visible object
-destroy object if(mouseover object & object is visible)
Something like this destroy all objects, even this one on invisible layer.
Just added variable which set which layer is visible. ex. activeLayer
-activeLayer = 2
-destroy object if(mouseover object & object is on layer "layer"&activeLayer)
So this didn't work?
Develop games in your browser. Powerful, performant & highly capable.
Unfortunately not. Maybe this capx will show what I meant.
Here you go.
Huh, seems like objects in invisible layers are not considered as invisible. Not sure if this is the intended behavior... let's ask Ashley