# Position of cursor in textfield (not mouse!)

**URL:** <https://forum.kirupa.com/t/position-of-cursor-in-textfield-not-mouse/74319>\
**Category:** Uncategorized\
**Created:** [December 27, 2004, 11:58pm UTC](https://forum.kirupa.com/t/position-of-cursor-in-textfield-not-mouse/74319 "2004-12-27T23:58:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voccart](https://avatars.discourse-cdn.com/v4/letter/v/ea5d25/32.png) [@Voccart](https://forum.kirupa.com/u/Voccart)\
**Post date:** [December 27, 2004, 11:58pm UTC](https://forum.kirupa.com/t/position-of-cursor-in-textfield-not-mouse/74319/1 "2004-12-27T23:58:59Z")

</div>

hi,

i’ve searched for it but couldnt find what i need.  
i have a inputfield (instance: enterSbMessage\_txt) so, when i type a few characters in it and user presses a button i want to know the exact position of the blinking cursor. i cannot find the as code to get these values.

thanks

---

<div class="post-metadata">

**Author:** ![meester](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@meester](https://forum.kirupa.com/u/meester)\
**Post date:** [June 29, 2008, 2:23pm UTC](https://forum.kirupa.com/t/position-of-cursor-in-textfield-not-mouse/74319/2 "2008-06-29T14:23:31Z")

</div>

Is there a way to translate that to a \_x and \_y position.  
so i can add a pointer movieclip that accentuates the cursor  
or to make a texthinting movieclip?
