# How to bind text in a widget

**URL:** <https://forums.unrealengine.com/t/how-to-bind-text-in-a-widget/457887>\
**Category:** UI\
**Tags:** text, unreal-engine, Widget, UE4, Blueprint, question, key-bind\
**Created:** [November 1, 2019, 2:55pm UTC](https://forums.unrealengine.com/t/how-to-bind-text-in-a-widget/457887 "2019-11-01T14:55:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0bb57bc2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0bb57bc2](https://forums.unrealengine.com/u/anonymous_user_0bb57bc2)\
**Post date:** [November 1, 2019, 2:55pm UTC](https://forums.unrealengine.com/t/how-to-bind-text-in-a-widget/457887/1 "2019-11-01T14:55:46Z")

</div>

In my game there is a time limit to each level, so I am creating a widget that shows how much time is remaining.

In my widget I made a border and a text box and made a binding to the text box, and this is current set up I have. It casts to my game mode to get the integer seconds and then turns it into text

 ![291606-screenshot-28.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/c/27c768574a0577414cea52970d52bdeabd43bc45.png)

The problem is that the text does not show up on my screen. I know that the seconds variable works because I have a print string testing it out and it counts down. And I know that the widget works because the border does show up, there is just no text.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Xeru98](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xeru98](https://forums.unrealengine.com/u/Xeru98)\
**Post date:** [November 1, 2019, 3:05pm UTC](https://forums.unrealengine.com/t/how-to-bind-text-in-a-widget/457887/2 "2019-11-01T15:05:16Z")

</div>

You don’t have the output pin of the cast plugged into the return node Exec input in the picture.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0bb57bc2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0bb57bc2](https://forums.unrealengine.com/u/anonymous_user_0bb57bc2)\
**Post date:** [November 1, 2019, 3:22pm UTC](https://forums.unrealengine.com/t/how-to-bind-text-in-a-widget/457887/3 "2019-11-01T15:22:28Z")

</div>

omg i feel like such a fool, thank you, i was so sure i had done it right and had no idea what i could have messed up on

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 27, 2024, 5:03pm UTC](https://forums.unrealengine.com/t/how-to-bind-text-in-a-widget/457887/4 "2024-06-27T17:03:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
