# How can I get the latest changed character in EditableText widget?

**URL:** <https://forums.unrealengine.com/t/how-can-i-get-the-latest-changed-character-in-editabletext-widget/459773>\
**Category:** UI\
**Tags:** textbox, unreal-engine, UI, Widget, question, Blueprint\
**Created:** [December 21, 2019, 9:25am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-latest-changed-character-in-editabletext-widget/459773 "2019-12-21T09:25:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeungKeung](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KeungKeung](https://forums.unrealengine.com/u/KeungKeung)\
**Post date:** [December 21, 2019, 9:25am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-latest-changed-character-in-editabletext-widget/459773/1 "2019-12-21T09:25:11Z")

</div>

I though that comparing the entire text to the previous one when everytime text is changed is not a good Idea, So I wish I could know the location of the cursor in the editor(not the mouse pointer).  
But I dont see any vairables or functions to get the location. I hope I dont need to make my own text editor BP entirely. Need Your Help!!

---

<div class="post-metadata">

**Author:** ![ppchavan001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ppchavan001](https://forums.unrealengine.com/u/ppchavan001)\
**Post date:** [December 21, 2019, 12:49pm UTC](https://forums.unrealengine.com/t/how-can-i-get-the-latest-changed-character-in-editabletext-widget/459773/2 "2019-12-21T12:49:35Z")

</div>

i am not sure what you are trying to do here but separating the string/text to individual character array and comparing the new array of character to the old one might solve the issue

---

<div class="post-metadata">

**Author:** ![KeungKeung](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KeungKeung](https://forums.unrealengine.com/u/KeungKeung)\
**Post date:** [December 26, 2019, 11:03am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-latest-changed-character-in-editabletext-widget/459773/3 "2019-12-26T11:03:13Z")

</div>

Thanks for the answer. But i thought that the way you recommended isn’t really efficient than just getting the location of the text editor cursor. Comparing all characters of the whole string every time to get a single word seems like a massive waste.
