# I want to update my score to score widget

**URL:** <https://forums.unrealengine.com/t/i-want-to-update-my-score-to-score-widget/463938>\
**Category:** UI\
**Tags:** unreal-engine, score, Widget, question\
**Created:** [April 18, 2020, 3:08pm UTC](https://forums.unrealengine.com/t/i-want-to-update-my-score-to-score-widget/463938 "2020-04-18T15:08:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yesh\_CJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yesh\_CJ](https://forums.unrealengine.com/u/Yesh_CJ)\
**Post date:** [April 18, 2020, 3:08pm UTC](https://forums.unrealengine.com/t/i-want-to-update-my-score-to-score-widget/463938/1 "2020-04-18T15:08:15Z")

</div>

I have created a game, I want to update my score to score widget. Its a multiplayer game for that I have created a player state for updating score and called it in GameMode blueprint and score is displaying in the screen when I kill a bot but this is without creating Widget its displaying

 ![299986-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/e/0ce39b9db1d0213952246ac8b413637e613ec48a.png)

but I need to keep track of my score so I created Widget and I need to update score but I am stuck in this step. Its showing a error as in my first image in the widget graph.

 ![299991-5.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/3/de356b3147c6c757e4dfd29674f2dd0f91801361.png)

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [April 18, 2020, 3:24pm UTC](https://forums.unrealengine.com/t/i-want-to-update-my-score-to-score-widget/463938/2 "2020-04-18T15:24:26Z")

</div>

from getplayerController drag a line use get player state and plug it into where error appeared.

---

<div class="post-metadata">

**Author:** ![Yesh\_CJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yesh\_CJ](https://forums.unrealengine.com/u/Yesh_CJ)\
**Post date:** [April 18, 2020, 6:41pm UTC](https://forums.unrealengine.com/t/i-want-to-update-my-score-to-score-widget/463938/3 "2020-04-18T18:41:24Z")

</div>

Its derived from player pawn how can I connect it yo player controller.  
Look at the error showing under that picture

---

<div class="post-metadata">

**Author:** ![irajsb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/irajsb/32/740687_2.png) [@irajsb](https://forums.unrealengine.com/u/irajsb)\
**Post date:** [April 19, 2020, 2:11am UTC](https://forums.unrealengine.com/t/i-want-to-update-my-score-to-score-widget/463938/4 "2020-04-19T02:11:23Z")

</div>

remove that node with error and use a getplayerstate instead.

---

<div class="post-metadata">

**Author:** ![Yesh\_CJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yesh\_CJ](https://forums.unrealengine.com/u/Yesh_CJ)\
**Post date:** [April 19, 2020, 5:05am UTC](https://forums.unrealengine.com/t/i-want-to-update-my-score-to-score-widget/463938/5 "2020-04-19T05:05:12Z")

</div>

![300022-6.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/f/06f4433f1c4087df5a5948b093eddc7abae1f7b4.png)

I called the “get player pawn” and connected it to player state and now it works well  
Thanks for helping.
