# Customizable Text on Material

**URL:** <https://forums.unrealengine.com/t/customizable-text-on-material/1836295>\
**Category:** Asset Creation\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [May 2, 2024, 10:47am UTC](https://forums.unrealengine.com/t/customizable-text-on-material/1836295 "2024-05-02T10:47:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZEREUX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZEREUX](https://forums.unrealengine.com/u/ZEREUX)\
**Post date:** [May 2, 2024, 10:47am UTC](https://forums.unrealengine.com/t/customizable-text-on-material/1836295/1 "2024-05-02T10:47:32Z")

</div>

Hello guys

Im currently making a material that displays a moveable text using the classic trick of moving the UVs (see example below). The material works great but now i want to inprove it by adding custom text. Right now the text is just a texture/texture mask and i cannot generate a new one each time for my project (i want to be customizable) and, AFAIK, there is no way to add “text” to a material like creating a text var in blueprints.

How can i do it? I have researched dynamic materials but I don’t see an easy answer; the alternative would be a Widget blueprint with a text var but i dont see how to re-create the automatic movement of the UV

![214990648bcdc5c9227b8581673edc7c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/9/d29e28986544e16d897f73c9a5004f4bbbbe4839.gif)  
[https://i.gyazo.com/214990648bcdc5c9227b8581673edc7c.gif](https://i.gyazo.com/214990648bcdc5c9227b8581673edc7c.gif)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 2, 2024, 11:40am UTC](https://forums.unrealengine.com/t/customizable-text-on-material/1836295/2 "2024-05-02T11:40:02Z")

</div>

You might be able to do something with a grid texture and a flipbook function

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/c/e4c257a99667129c3cb0b27a9509b63d24c2b02e.jpeg)

Very very very early days… 🙂

You would need the node for each letter, so a fixed number of letters. Also it would be a better texture ( obviously ) and could be used as a mask to lerp between background and foreground.

---

<div class="post-metadata">

**Author:** ![ZEREUX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZEREUX](https://forums.unrealengine.com/u/ZEREUX)\
**Post date:** [May 2, 2024, 4:54pm UTC](https://forums.unrealengine.com/t/customizable-text-on-material/1836295/3 "2024-05-02T16:54:37Z")

</div>

I saw a similar post with pretty much the same idea, a flipbook alphabet, but i dont see how this could be customizable or controlled by the user. I mean, even with the example used, “This is a test” it would be a bit annoying to add each symbol.

I wont discart this idea, but im gonna try some type of “panner” for Widgets

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 2, 2024, 5:01pm UTC](https://forums.unrealengine.com/t/customizable-text-on-material/1836295/4 "2024-05-02T17:01:56Z")

</div>

You would need to have a fixed length sentence, but apart from that, it’s just setting the numbers for the letters.

Problem with a widget, is the text will just scroll off one end, but not come back on the other.

---

<div class="post-metadata">

**Author:** ![ZEREUX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZEREUX](https://forums.unrealengine.com/u/ZEREUX)\
**Post date:** [May 2, 2024, 5:16pm UTC](https://forums.unrealengine.com/t/customizable-text-on-material/1836295/5 "2024-05-02T17:16:32Z")

</div>

So there is no way to animate the UV using the widget animations? The problem is, the text will be introduced by the user, so i cant create a fixed length for a sentence that i cant know;guess a fixed limit would work by adding a gap in the alphabet and yet, to translate those coord. to actual text is gonna be…fun 🫤

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 2, 2024, 6:46pm UTC](https://forums.unrealengine.com/t/customizable-text-on-material/1836295/6 "2024-05-02T18:46:45Z")

</div>

It’s a pain, I agree 🙂

Try a widget and see where it takes you. I couldn’t think of a way to make it work, but there’s very possibly one.
