i'm trying to use screentolayer with dynamic layer name, with no luck..
|
Quellcode
|
1
|
screentolayer(layer[get(mylayername)], mouse.stagex,mouse.stagey, thelx,thely);
|
it won't work till i give the real name of the layer at first parameter.
How to do it dynamically?