Hi all.
I have a question I have been trying to solve for a while, shown in the images here below. If anyone can give me a tip on how to proceed I would be grateful.
Thanks
A
PS: Ideally it would be great for a similar command to be added to the insert operation (something like "keepProportions,alignPosition") in future releases .
const asset_sx = assetInfo(asset, sx)
const asset_sz = assetInfo(asset, sz)
Lot -->
InsertAsset(min(scope.sx/asset_sx, scope.sz/asset_sz))
InsertAsset(factor) -->
i(asset, yUp, keepSizeAndPosition)
s('factor, 'factor, 'factor)
center(xz)