You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, January 6th 2019, 12:25am

screentolayer question

i'm trying to use screentolayer with dynamic layer name, with no luck..


Source code

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

Sunday, January 6th 2019, 10:44am

doesnt this work?

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

Mael B.

Trainee

Posts: 130

Location: France, Montpellier

  • Send private message

3

Sunday, January 6th 2019, 11:37am

doesnt this work?

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

I can confirm that it work well like this :)

4

Sunday, January 6th 2019, 6:29pm

yep it works

thought i tried that one, but no :)

thanks guys