Sie sind nicht angemeldet.

1

Sonntag, 6. Januar 2019, 00:25

screentolayer question

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?

2

Sonntag, 6. Januar 2019, 10:44

doesnt this work?

screentolayer(get(mylayername), ... );

Mael B.

Schüler

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

3

Sonntag, 6. Januar 2019, 11:37

doesnt this work?

screentolayer(get(mylayername), ... );

I can confirm that it work well like this :)

4

Sonntag, 6. Januar 2019, 18:29

yep it works

thought i tried that one, but no :)

thanks guys