# getCharBoundaries returns incorrect values when parent of TextField is rotated in 3D

**URL:** <https://forum.kirupa.com/t/getcharboundaries-returns-incorrect-values-when-parent-of-textfield-is-rotated-in-3d/288484>\
**Category:** flash\
**Created:** [May 16, 2009, 4:57pm UTC](https://forum.kirupa.com/t/getcharboundaries-returns-incorrect-values-when-parent-of-textfield-is-rotated-in-3d/288484 "2009-05-16T16:57:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoRabbit](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@NoRabbit](https://forum.kirupa.com/u/NoRabbit)\
**Post date:** [May 16, 2009, 4:57pm UTC](https://forum.kirupa.com/t/getcharboundaries-returns-incorrect-values-when-parent-of-textfield-is-rotated-in-3d/288484/1 "2009-05-16T16:57:11Z")

</div>

Everything is in the title:

I’m just trying to make a sprite follow the last letter of a TextField with the getCharBoundaries() function. It works fine when the DisplayObject that contains the TextField has no 3d transformations on it. But when I rotate it in 3D, returned values are wrong and it doesn’t work anymore.

I don’t know anything about the matrix objects and all those transformation functions but I guess there is a way to get the correct value by using one of those matrices.

I tried to use some matrices and played with some of their values but didn’t get any luck.  
If someone knows anything about this issue, let me know.

tkx !
