# Adding text to static mesh component surface

**URL:** <https://forums.unrealengine.com/t/adding-text-to-static-mesh-component-surface/374193>\
**Category:** UI\
**Tags:** staticmeshcomponent, text, unreal-engine, construction-script, Blueprint, question\
**Created:** [October 23, 2016, 12:31am UTC](https://forums.unrealengine.com/t/adding-text-to-static-mesh-component-surface/374193 "2016-10-23T00:31:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Disc.ST](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Disc.ST](https://forums.unrealengine.com/u/Disc.ST)\
**Post date:** [October 23, 2016, 12:31am UTC](https://forums.unrealengine.com/t/adding-text-to-static-mesh-component-surface/374193/1 "2016-10-23T00:31:49Z")

</div>

I want to achieve something similar to this where I can add text to the surface of a static mesh:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/2/002ea28dff9f1984111b9046e2179e12251ac531.jpeg "UE4 Dynamic Street Signs") ](https://www.youtube.com/watch?v=NDLhk0bdSjI)

I would like this to be done using a text variable, If I could open up an option to format the text as i go (like character spacing, font, bold etc) that would be even better. I have already set up my mesh and got a blueprint going in construction script where different staticmesh components are being added on to a base mesh. All of the branches in my script are all varients of this:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/6/e/76eda8cec5657e770c658ad87a703e1893620d33.png)  
Some of these will only require the text to be shown on one side whilst others to be shown on both. (the dark panel one side and the green panel both sides)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/5/bf523316fbd14d2c8ee936e4339edcfa519b6d7f.png)  
So yeah, it would be awesome if someone could show me how to go about doing this! Please bare in mine this is the first time I have used blueprints and I may need an image to two to understand what im doing. Also, if you see a way of simplifying the script I have already made please let me know. Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_21ba43ad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_21ba43ad](https://forums.unrealengine.com/u/anonymous_user_21ba43ad)\
**Post date:** [October 23, 2016, 1:57am UTC](https://forums.unrealengine.com/t/adding-text-to-static-mesh-component-surface/374193/2 "2016-10-23T01:57:16Z")

</div>

Check this video. It’s what you are looking for.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/d/11d3702acc2da9d3f153c86adb5931b94e96969e.jpeg "Unreal Engine 4 - Render Text to Texture using Canvas Render 2d") ](https://www.youtube.com/watch?v=vHf286UfoPU)

---

<div class="post-metadata">

**Author:** ![Night\_Watcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/night_watcher/32/1145400_2.png) [@Night\_Watcher](https://forums.unrealengine.com/u/Night_Watcher)\
**Post date:** [October 23, 2016, 4:58am UTC](https://forums.unrealengine.com/t/adding-text-to-static-mesh-component-surface/374193/3 "2016-10-23T04:58:09Z")

</div>

You can download the UE4 content example, it have many usefull examples on how to implement some functionalities.

The simplest way to do what you are asking for is to add a Text Render Component to your blueprint, and there is a content example for that, here’s more info:

> **[1.1 - Hello World](https://docs.unrealengine.com/4.27/en-US/Resources/ContentExamples/Blueprints/1_1/)**
>
> An overview of the Blueprints example level, example 1.1: Hello World
