# How can I edit a text block

**URL:** <https://forums.unrealengine.com/t/how-can-i-edit-a-text-block/1268726>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [August 22, 2023, 11:38am UTC](https://forums.unrealengine.com/t/how-can-i-edit-a-text-block/1268726 "2023-08-22T11:38:38Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![DustinREDGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dustinredgames/32/634988_2.png) [@DustinREDGames](https://forums.unrealengine.com/u/DustinREDGames)\
**Post date:** [August 23, 2023, 3:04pm UTC](https://forums.unrealengine.com/t/how-can-i-edit-a-text-block/1268726/7 "2023-08-23T15:04:23Z")

</div>

I did answer your question with a link to an example:

> [@Quick way to display text to player's screen from Verse script](https://forums.unrealengine.com/t/quick-way-to-display-text-to-players-screen-from-verse-script/831948/5):
>
> Here is an example of displaying dynamic text on the screen, changing a value, and updating the text. using { /Verse.org/Simulation } using { /Verse.org/Colors } using { /Fortnite.com/Devices } using { /Fortnite.com/UI } using { /UnrealEngine.com/Temporary/Diagnostics } using { /UnrealEngine.com/Temporary/SpatialMath } using { /UnrealEngine.com/Temporary/UI} dynamic\_text\_device := class(creative\_device): var \_myIntValue:int = 0 var \_textWiget: text\_block = text\_block{DefaultTextCo…

There are two key parts of the example:

A method to dynamically set the text:  
`SetDynamicText<localizes>(value:string) : message = "{value}"`

And setting the message in your text block widget:  
`_textWidget.SetText(SetDynamicText("Complete!"))`

I can only hold your hand so far, at some point you need to learn it on your own.

---

_[View the full topic](https://forums.unrealengine.com/t/how-can-i-edit-a-text-block/1268726)._
