# Hard reference to PC in widget

**URL:** <https://forums.unrealengine.com/t/hard-reference-to-pc-in-widget/2662914>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [October 7, 2025, 8:10am UTC](https://forums.unrealengine.com/t/hard-reference-to-pc-in-widget/2662914 "2025-10-07T08:10:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Idknoidealol](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Idknoidealol](https://forums.unrealengine.com/u/Idknoidealol)\
**Post date:** [October 7, 2025, 8:10am UTC](https://forums.unrealengine.com/t/hard-reference-to-pc-in-widget/2662914/1 "2025-10-07T08:10:04Z")

</div>

Hey all,

Simple question: to what extent is it a bad practice to have a hard reference to the PC in the widget (in the case of a Button pressed =\> cast to PC =\> Trigger event)? It seems okay to me, as the PC will always exist in memory. Am I correct?

---

<div class="post-metadata">

**Author:** ![Auran131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Post date:** [October 7, 2025, 10:27am UTC](https://forums.unrealengine.com/t/hard-reference-to-pc-in-widget/2662914/2 "2025-10-07T10:27:38Z")

</div>

perfectly fine, as long as you dont intend to use that widget with different PCs
