# Character under mouse in dynamic textField (AS2)

**URL:** <https://forum.kirupa.com/t/character-under-mouse-in-dynamic-textfield-as2/251177>\
**Category:** Uncategorized\
**Created:** [February 5, 2008, 11:47pm UTC](https://forum.kirupa.com/t/character-under-mouse-in-dynamic-textfield-as2/251177 "2008-02-05T23:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![acidandsugar](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@acidandsugar](https://forum.kirupa.com/u/acidandsugar)\
**Post date:** [February 5, 2008, 11:47pm UTC](https://forum.kirupa.com/t/character-under-mouse-in-dynamic-textfield-as2/251177/1 "2008-02-05T23:47:58Z")

</div>

is there a way to determine the index of the character that is under a certain position of a dynamic or input textField in ActionScript2? since getCharIndexAtPoint is only availiable in AS3, i suppose there is no easy solution. anyone heard of a good workaround?

the preferred method for static textFields using TextSnapshot.hitTestTextNearPos is not an option here since its needed in a dynamic or input textField…
