I am wondering if there is a way to auto align assets in photoshop like you might do with the stack feature in Adobe XD? Either in the interface or with scripting?
So that if a text box increases its contents it pushes a text box below down or to the right?
A Script could evaluate the position and bounds of the existing Layers but how would you define the relationships that determine which Layers should not overlap (and therefore be moved)?
Why do you want to recreate functionality in Photoshop that apparently already exists in another application?
I was hoping that I could write a script to take the width or height of a layer (image or text box) and offeset the position of another layer in relation to it. So if the text box is 300px or 200px a layer beneath it willl move acording to the height. like text box height = 300px. layer 2 Y position += text box height.
Is that sort of thing possible in Photoshop scripting? Getting element heights. setting element positions.