Hi Klaus,
Thank you so much! this works perfectly!
However, is it possible to trace non clickable layers?
When debugging is enabled, i see the separated layers but only thru wireframe.
Hi,
try adding this script:
|
Quellcode
|
1
2
3
4
5
|
delayedcall(1,
for(set(i,0), i LT layer.count, inc(i),
layer[get(i)].addevent('onclick', trace('click on layer[',name,']') );
);
);
|
It will wait 1.0 second after start and then add a click event to all current defined layer elements.
Best regards,
Klaus