# Display score in 3D widget?

**URL:** <https://forums.unrealengine.com/t/display-score-in-3d-widget/383872>\
**Category:** UI\
**Tags:** Variable, reference-blueprint, text, unreal-engine, Widget, Blueprint, question\
**Created:** [February 3, 2017, 11:01pm UTC](https://forums.unrealengine.com/t/display-score-in-3d-widget/383872 "2017-02-03T23:01:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ian80](https://forums.unrealengine.com/u/ian80)\
**Post date:** [February 3, 2017, 11:01pm UTC](https://forums.unrealengine.com/t/display-score-in-3d-widget/383872/1 "2017-02-03T23:01:03Z")

</div>

I’m creating a very simple game of throwing balls into a box. I have a widget floating above the box, I want it to count the number of balls in the box (as you score). I’m confused about how to use variables.

I have my 3d widget set up with a text box that is bound to a function. This is where I’m lost (even after scouring through online tutorials :/)

This is my event within the box BP:

 ![124898-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/4/f74eebdd47d75375a15fc2fb5c3990c6bc83fd1c.jpeg)

I need to now send a signal to my widget BP to check and update the score based on that variable. But have no idea how. Help? I’m not sure how to reference the widget BP, which I guess would be the first step. But I will also have to somehow execute the function within my widget that the text box is bound to.

---

<div class="post-metadata">

**Author:** ![ian80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ian80](https://forums.unrealengine.com/u/ian80)\
**Post date:** [February 5, 2017, 8:42pm UTC](https://forums.unrealengine.com/t/display-score-in-3d-widget/383872/2 "2017-02-05T20:42:07Z")

</div>

Thanks so much! Worked like a charm.

---

<div class="post-metadata">

**Author:** ![iNaRo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iNaRo](https://forums.unrealengine.com/u/iNaRo)\
**Post date:** [April 28, 2022, 7:56pm UTC](https://forums.unrealengine.com/t/display-score-in-3d-widget/383872/3 "2022-04-28T19:56:54Z")

</div>

Do you remember what the fix was for this? The solution is now deleted.
