# Create widget when character overlaping client side only

**URL:** <https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160>\
**Category:** UI\
**Tags:** unreal-engine, Widget, question\
**Created:** [March 31, 2021, 12:20pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160 "2021-03-31T12:20:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [March 31, 2021, 12:20pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/1 "2021-03-31T12:20:38Z")

</div>

Hello I’m having some issues in trying to understand how to make a widget only appear client side when a character overlaps, I want to change it to be based on the player controller, so if someone knows how to detect if a player controller is overlaping a box inside an actor and display a widget only client sided that would help a lot thanks.

This is how the blueprint is at the moment:

[https://prnt.sc/110qowk](https://prnt.sc/110qowk)

---

<div class="post-metadata">

**Author:** ![GrumbleBunny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrumbleBunny](https://forums.unrealengine.com/u/GrumbleBunny)\
**Post date:** [March 31, 2021, 12:31pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/2 "2021-03-31T12:31:16Z")

</div>

The PlayerController doesn’t have any collision on it. If you want it to only appear on the client you can use the “Is locally Controlled” node to check if you’re the local character.

---

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [April 1, 2021, 8:26am UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/3 "2021-04-01T08:26:38Z")

</div>

Thank you for the answer I’ll try as soon as possible and send another message here.

---

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [April 1, 2021, 8:40am UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/4 "2021-04-01T08:40:20Z")

</div>

Ok so I tried it I put it like this if it isn’t and you can help me great and it didn’t work as shown in the second link.

[https://prnt.sc/111cocd](https://prnt.sc/111cocd)

[https://prnt.sc/111crqs](https://prnt.sc/111crqs)

By the way just to add I’m playing as listend server.

---

<div class="post-metadata">

**Author:** ![GrumbleBunny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrumbleBunny](https://forums.unrealengine.com/u/GrumbleBunny)\
**Post date:** [April 1, 2021, 5:38pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/5 "2021-04-01T17:38:21Z")

</div>

Hmm, try checking the character colliding instead of the variable?

![334327-collisionref.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/9/7/6972a5cfb3f03170917043a271798bc2932db6e6.png)

---

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [April 1, 2021, 11:32pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/6 "2021-04-01T23:32:57Z")

</div>

Hmmm, tried it, but it gives me errors and doesn’t show the ui. 😕

---

<div class="post-metadata">

**Author:** ![GrumbleBunny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrumbleBunny](https://forums.unrealengine.com/u/GrumbleBunny)\
**Post date:** [April 2, 2021, 6:49am UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/7 "2021-04-02T06:49:48Z")

</div>

What errors are you getting? Which actor is this blueprint? What type is “Sophie Ref”, and what type is “Sophie\_Character”?

---

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [April 2, 2021, 5:12pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/8 "2021-04-02T17:12:08Z")

</div>

The error says that it’s comming from the top branch, and this actor is a pallet which can be thrown down. Sophie Ref and Sophie\_Character are basically the same, Sophie\_Character is a pawn, basically what I did was Copy and Paste the ThirdPersonCharacter and put my code, character and animations that’s it.

---

<div class="post-metadata">

**Author:** ![GrumbleBunny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GrumbleBunny](https://forums.unrealengine.com/u/GrumbleBunny)\
**Post date:** [April 2, 2021, 7:53pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/9 "2021-04-02T19:53:06Z")

</div>

Oh are you using that Boolean for another event? You’ll need to duplicate it for the other event.

---

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [April 3, 2021, 6:46am UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/10 "2021-04-03T06:46:28Z")

</div>

So, for each branch I need a new one. Ok. I’ll try it when I get home thank you.

---

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [April 3, 2021, 5:36pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/11 "2021-04-03T17:36:54Z")

</div>

Thank you very much it’s working.

[https://prnt.sc/113biiw](https://prnt.sc/113biiw)

---

<div class="post-metadata">

**Author:** ![HS\_TiagoPlaysHD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HS\_TiagoPlaysHD](https://forums.unrealengine.com/u/HS_TiagoPlaysHD)\
**Post date:** [April 3, 2021, 6:06pm UTC](https://forums.unrealengine.com/t/create-widget-when-character-overlaping-client-side-only/481160/12 "2021-04-03T18:06:14Z")

</div>

Just a question I know this is out of context of this post but do you know if there’s a way to destroy a component server sided, like a trigger box inside an actor.
