# Problem: Castto from a Widget to a Pawn

**URL:** <https://forums.unrealengine.com/t/problem-castto-from-a-widget-to-a-pawn/36866>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [July 28, 2015, 7:34pm UTC](https://forums.unrealengine.com/t/problem-castto-from-a-widget-to-a-pawn/36866 "2015-07-28T19:34:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d01016e4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d01016e4](https://forums.unrealengine.com/u/anonymous_user_d01016e4)\
**Post date:** [July 28, 2015, 7:34pm UTC](https://forums.unrealengine.com/t/problem-castto-from-a-widget-to-a-pawn/36866/1 "2015-07-28T19:34:33Z")

</div>

Hello, i m trying the UMG UI Designer Quick Start Guide from the Documentation. [https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/2/index.html](https://docs.unrealengine.com/latest/INT/Engine/UMG/QuickStart/2/index.html)

I m on Part 2 and want castto (myCharacter) . His Name is Test and its a Pawn.

But when i make it how in the Tutorial , i become a Warning in the Hub Blueprint.

help pls, thx

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d01016e4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d01016e4](https://forums.unrealengine.com/u/anonymous_user_d01016e4)\
**Post date:** [July 28, 2015, 8:48pm UTC](https://forums.unrealengine.com/t/problem-castto-from-a-widget-to-a-pawn/36866/2 "2015-07-28T20:48:24Z")

</div>

I have set GetPlayerPawn instead of GetPlayer Controller, now it works.  
Thx
