Views
1004
Replies
0
Status
Closed
Hi all,
I try in a javascript script to change the position of a layer, or the content of the layer. Actually, I try to align two layers, and I want to use the applyOffset or translate method ( I didn’t find another methods). But I can’t know the x and y positions of the layers, neither the with and the height. So I can’t calculate the positions offset.
I didn’t see layer methods or properties that return theses informations.
So, how I can do to align two layers ?
Thanks
I try in a javascript script to change the position of a layer, or the content of the layer. Actually, I try to align two layers, and I want to use the applyOffset or translate method ( I didn’t find another methods). But I can’t know the x and y positions of the layers, neither the with and the height. So I can’t calculate the positions offset.
I didn’t see layer methods or properties that return theses informations.
So, how I can do to align two layers ?
Thanks
Related Tags
MacBook Pro 16” Mockups 🔥
– in 4 materials (clay versions included)
– 12 scenes
– 48 MacBook Pro 16″ mockups
– 6000 x 4500 px