Yeah with the width and height method you'll also need to move the pivot via visual logic if you want it to grow anywhere but the center.
For example width.x /2 = pivot.x will keep it on the right edge of the object.
With Width and Height you also need to watch if you are using text for the size and you'll squeezing it , you'll need to use width / height scaled.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 10-03-2024 09:30
From: Iacopo Baglioni
Subject: Borders to Quad
This could be one way. I instead prefer to take the width and height of the first quad, add the border thickness (e.g. 50px) and then calculate the correct scale.
So, for the width:
1) get the width of the first quad
2) add 50px
3)divide the sum by the original width and apply it to the second quad
Do the same things for the height and you will get the real scale to have a perfect border equal on each side (I can't send screen for visual logic now, I don't have Xpression in my laptop)
------------------------------
Iacopo Baglioni
Broadcast Engineer, Video mixer operator, GFX oper
Iacopo Baglioni
Viterbo Italy
------------------------------
Original Message:
Sent: 10-03-2024 06:34
From: Simon Redmile
Subject: Borders to Quad
Use visual logic with an offset block to create the board size you want.

------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom