# CONSTRAINING TEXT TO QUAD OBJECT BOUNDARIES

**URL:** <https://rossvideo.community/t/constraining-text-to-quad-object-boundaries/9782>\
**Category:** Graphics & Virtual\
**Created:** [July 2, 2024, 12:22am UTC](https://rossvideo.community/t/constraining-text-to-quad-object-boundaries/9782 "2024-07-02T00:22:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveszeszycki](https://rossvideo.community/letter_avatar_proxy/v4/letter/s/e0b2c6/32.png) [@steveszeszycki](https://rossvideo.community/u/steveszeszycki)\
**Post date:** [July 2, 2024, 12:22am UTC](https://rossvideo.community/t/constraining-text-to-quad-object-boundaries/9782/1 "2024-07-02T00:22:00Z")

</div>

Hello all, I’m looking for a way to constrain my text to remain inside the boundaries of the quad object. I know there are many posts here asking the same thing. Also, Thanks to this community I was able to find help making sure the text is centered in my quad. But as my example shows, when I add more lines, my text does not remain inside the boundaries of the quad. So if I add LINE NINE (or more lines) the text needs to scale down. Is scripting the only way to accomplish this. I can’t seem to figure out a way in VL… Right now my bounding box height is 504.

Thank you.

---

<div class="post-metadata">

**Author:** ![romanyaroshenko](https://rossvideo.community/letter_avatar_proxy/v4/letter/r/ebca7d/32.png) [@romanyaroshenko](https://rossvideo.community/u/romanyaroshenko)\
**Post date:** [July 2, 2024, 7:02am UTC](https://rossvideo.community/t/constraining-text-to-quad-object-boundaries/9782/2 "2024-07-02T07:02:00Z")

</div>

Hi Steve  
Try the attached project

---

<div class="post-metadata">

**Author:** ![steveszeszycki](https://rossvideo.community/letter_avatar_proxy/v4/letter/s/e0b2c6/32.png) [@steveszeszycki](https://rossvideo.community/u/steveszeszycki)\
**Post date:** [July 3, 2024, 5:26pm UTC](https://rossvideo.community/t/constraining-text-to-quad-object-boundaries/9782/3 "2024-07-03T17:26:00Z")

</div>

Thank you Roman! This works great. Can’t wait to dig in and see if I can duplicate it. I wish XPression would implement a TEXT FIELD object so we could accomplish the same thing without scripting…

Thanks again.
