# auto follow and auto scale a single quad from 2 different ends

**URL:** <https://rossvideo.community/t/auto-follow-and-auto-scale-a-single-quad-from-2-different-ends/9811>\
**Category:** Graphics & Virtual\
**Created:** [August 16, 2024, 9:44am UTC](https://rossvideo.community/t/auto-follow-and-auto-scale-a-single-quad-from-2-different-ends/9811 "2024-08-16T09:44:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gauravsodhani](https://rossvideo.community/letter_avatar_proxy/v4/letter/g/8edcca/32.png) [@gauravsodhani](https://rossvideo.community/u/gauravsodhani)\
**Post date:** [August 16, 2024, 9:44am UTC](https://rossvideo.community/t/auto-follow-and-auto-scale-a-single-quad-from-2-different-ends/9811/1 "2024-08-16T09:44:00Z")

</div>

Hi guyz,

I have 2 rectangular quads in opposite directions and in between these 2 is a 3rd quad which serves as a link between the quads (it’s a thin line). i want to move the 2 rectagular quads in different X & Y positions and the 3rd quad should follow both the quads from their respective ends and also scale in X, based on the distance between quad 1 & 2. Attached is an image for better understanding. How can i achieve this thru VL? Thanks.

 ![](https://discourse-rossvideo-uploads-east2.s3.dualstack.us-east-2.amazonaws.com/original/2X/4/4cbc33159e048965c43b5158b0f393ced2f57b33.png)

---

<div class="post-metadata">

**Author:** ![azathothson\_of\_cthul](https://rossvideo.community/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@azathothson\_of\_cthul](https://rossvideo.community/u/azathothson_of_cthul)\
**Post date:** [August 16, 2024, 1:30pm UTC](https://rossvideo.community/t/auto-follow-and-auto-scale-a-single-quad-from-2-different-ends/9811/2 "2024-08-16T13:30:00Z")

</div>

I’d recommend VB, not VL.

Also, this is some simple math.

Distance formula.

Midpoint formula.

VL has no asin or acos function so figuring out the angle is harder in VL. But in VB, asin for the angle.
