# Text render component on a actor be editable from a UI

**URL:** <https://forums.unrealengine.com/t/text-render-component-on-a-actor-be-editable-from-a-ui/451274>\
**Category:** UI\
**Tags:** text-render, unreal-engine, UI, UE4, Blueprint, question\
**Created:** [June 25, 2019, 10:35pm UTC](https://forums.unrealengine.com/t/text-render-component-on-a-actor-be-editable-from-a-ui/451274 "2019-06-25T22:35:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carnage97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Carnage97](https://forums.unrealengine.com/u/Carnage97)\
**Post date:** [June 25, 2019, 10:35pm UTC](https://forums.unrealengine.com/t/text-render-component-on-a-actor-be-editable-from-a-ui/451274/1 "2019-06-25T22:35:04Z")

</div>

I have some text above an actor signifying the name of the character, and when I start my level it shows an editable text box where I can change the name to whatever I want…how can I link the two? I’ve looked online for tutorials and find some similar to what I’m going for but nothing about editing text that links to the text above an actor that can be changed.

![280740-text2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/e/fbee78394ce6f1158ec43248e21b8232c4b26b49.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 26, 2019, 6:23am UTC](https://forums.unrealengine.com/t/text-render-component-on-a-actor-be-editable-from-a-ui/451274/2 "2019-06-26T06:23:46Z")

</div>

edited, misread what you needed, lack of coffee, etc…

The most straightforward way - in the widget override `onTextCommitted` and:

Get Player Character \> Cast \> get Text Render → Set Text (plug in the text from Committed)

* * *

Here’s an alternative I’d normally lean towards; but it all depends on the circumstances and what it is really used for:

 ![280759-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/7/b273169bd38e09604fe3f08db88a653612630435.png)

---

<div class="post-metadata">

**Author:** ![Carnage97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Carnage97](https://forums.unrealengine.com/u/Carnage97)\
**Post date:** [June 27, 2019, 11:04pm UTC](https://forums.unrealengine.com/t/text-render-component-on-a-actor-be-editable-from-a-ui/451274/3 "2019-06-27T23:04:55Z")

</div>

thank you that helped me make this… which is odd idk what i am missing…on text committed char1name that works so when i edit the box it changes the name so thats good but “on text committed char 2 name” isnt working any idea why? i know im missing something simple

 ![capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/2/f825fa25e311aa3f8425d0d99bee0588c006eb34.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [June 28, 2019, 7:52am UTC](https://forums.unrealengine.com/t/text-render-component-on-a-actor-be-editable-from-a-ui/451274/4 "2019-06-28T07:52:48Z")

</div>

2 things:

- where are the references coming from, namely _Character 1_ & _Cannon 2_ - are they valid? If these are not set up prior to this execution, you should be seeing _Accessed None_ errors in the log.
- you’re casting, but you’re not doing anything with the return values - perhaps that’s what you want to do. The whole point of casting is getting access to the specific object instance of the correct type.
