# Textfield cursor position

**URL:** <https://forum.kirupa.com/t/textfield-cursor-position/164576>\
**Category:** flash\
**Created:** [October 3, 2005, 1:42am UTC](https://forum.kirupa.com/t/textfield-cursor-position/164576 "2005-10-03T01:42:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Chen](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@Michael\_Chen](https://forum.kirupa.com/u/Michael_Chen)\
**Post date:** [October 3, 2005, 1:42am UTC](https://forum.kirupa.com/t/textfield-cursor-position/164576/1 "2005-10-03T01:42:45Z")

</div>

Hi everyone

Is there a built in function that can get the current cursor position within a text field? I.e. returns an index position?

Thanks for reading.

regards,  
Mike
