r-bin​ Many thanks for your expertise on this code snippet !! it seems to works nicely, at least in my simple case (no perspective or complex transform on layer). Without your generous help, it would have been impossible. JJMack Does it works for you for these complex scenarios ? If yes, I'll mark r-bin answer last code snippet as the good one. I agree with you that it is suprising that a simple property like that (it is shown in plain text in some text-input of the UI) needs to deal with such complex function on the script side. That was a very unexpected behavior, as nothing on the documentation explained that position would behave weirdly with smart objects. At least we have a workaround now !
... View more