# Error Access None when you try to function for two pawns with in one Widget

**URL:** <https://forums.unrealengine.com/t/error-access-none-when-you-try-to-function-for-two-pawns-with-in-one-widget/2726486>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [June 5, 2026, 3:24pm UTC](https://forums.unrealengine.com/t/error-access-none-when-you-try-to-function-for-two-pawns-with-in-one-widget/2726486 "2026-06-05T15:24:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shineoooo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shineoooo](https://forums.unrealengine.com/u/shineoooo)\
**Post date:** [June 5, 2026, 3:24pm UTC](https://forums.unrealengine.com/t/error-access-none-when-you-try-to-function-for-two-pawns-with-in-one-widget/2726486/1 "2026-06-05T15:24:09Z")

</div>

Hi folks,

I have an Access None error when trying to call the widget from Player Controller. I have the Widget set up in Player Controller with Set Visibility. The Widget includes two different callouts A and B. I have two pawns in the scene, when click Pawn 1, the callout A should appear. When click Pawn 2, the callout B should appear.

Currently, the Pawn 1 works as expected. But, when you click Pawn 2, nothing shows up and gives you Access None error.

Visibility set up in Player Controller:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/4/e847218d7f2649c15195c90e6cc4c7cbea8b1a1e.jpeg)

Pawn 1 to cast to Player Controller, display callout A and hide callout B

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/0/6408c00845c6c2940bfaa531dc4bc82bc455ef12.jpeg)

Pawn 2 to cast to Player Controller, display callout B and hide callout A

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/9/199aead5b3394858b09bbd945d48a9e76f923805.jpeg)

Edit: I think I found issue. The Set Visibility works for the Widget, but not inside two callouts. When it works with Pawn 1, because the Widget is called out, not the callout A inside the Widget. My question would be, is there any way to make it work instead of creating two widgets separately? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![shineoooo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shineoooo](https://forums.unrealengine.com/u/shineoooo)\
**Post date:** [June 5, 2026, 6:00pm UTC](https://forums.unrealengine.com/t/error-access-none-when-you-try-to-function-for-two-pawns-with-in-one-widget/2726486/2 "2026-06-05T18:00:37Z")

</div>

I solved it by setting the visibility inside the widget, to set callout A and B visible separately.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/9/939930359be7cefa0d718ef2b2103db90852d669.jpeg)

Then, go to Player Controller to call the custom event setup for callout A and B from widget.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/9/0c95a1191a4a57134865fa2bbe5426dc0ca2b6d0.jpeg)
