Get Layer Transform X Y Top Left Coordinate Position
Hi !
I try to look for this but in fact it seems more complicated than expected, and I didn't find a working up to date solution.
So we have layer bound property, which can return top left value of a layer.
But if the layer is smart layer (or a text) this may not work as I would have expect: indeed, it will return the value of the position of the first pixel, and not the actual smart layer position (determined by it's original boundaries).
Here is a screen capture to show the difference between the layer top left coordinate and the transform X Y position (which match the original file placement):

How do you get these X Y positions from a Photoshop script ?
Thanks ! ![]()
