# Character under mouse in textField as AS2

**URL:** <https://forum.kirupa.com/t/character-under-mouse-in-textfield-as-as2/251175>\
**Category:** Uncategorized\
**Created:** [February 5, 2008, 11:36pm UTC](https://forum.kirupa.com/t/character-under-mouse-in-textfield-as-as2/251175 "2008-02-05T23:36:29Z")\
**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:36pm UTC](https://forum.kirupa.com/t/character-under-mouse-in-textfield-as-as2/251175/1 "2008-02-05T23:36:29Z")

</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…
