# widget show when look at an object 

**URL:** <https://forums.unrealengine.com/t/widget-show-when-look-at-an-object/720108>\
**Category:** International\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [December 2, 2022, 4:27pm UTC](https://forums.unrealengine.com/t/widget-show-when-look-at-an-object/720108 "2022-12-02T16:27:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meshaalalshikh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/meshaalalshikh/32/1068142_2.png) [@meshaalalshikh](https://forums.unrealengine.com/u/meshaalalshikh)\
**Post date:** [December 2, 2022, 4:27pm UTC](https://forums.unrealengine.com/t/widget-show-when-look-at-an-object/720108/1 "2022-12-02T16:27:10Z")

</div>

hi every  
i am trying to let a widget show in UE5 when the player looks at an object and i tried some blueprints but it seem like it is not working an example of what i am trying to do is in this video i found (min 6:08)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/8/5a83539d6da62b8fbbb00ce31b1a164052e772c9.jpeg "Future of architectural visualization | Interior and exterior in Unreal Engine 5 | ArhiTeach school") ](https://www.youtube.com/watch?v=1NrwktfF2Eo)

can you help with that please  
thank you all

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [December 2, 2022, 4:35pm UTC](https://forums.unrealengine.com/t/widget-show-when-look-at-an-object/720108/2 "2022-12-02T16:35:12Z")

</div>

> [@meshaalalshikh](#):
>
> trying to let a widget show in UE5 when the player looks at an object and i tried some blueprints but it seem like it is not working

Without knowing what you’ve tried and done, there’s no way to help you out. But, do have a look at this post:

> [@Third person crosshair object highlight troubles](https://forums.unrealengine.com/t/third-person-crosshair-object-highlight-troubles/252041/13):
>
> The communication in the example revolves around Inheritance + Interface - a potent combo, imho. the base class implements the interface (which children inherit) the widget uses the same interface - calls children receive can be propagated: Actor → Widget Component → Widget without casting or finding user widgets (this can be done in many ways, though) the player has a collision sphere and sends an interface call to overlapped actors as we approach: [image] [image] Above, handl…

It’s a slightly more advanced example as it also highlights actors close to the controlled pawn. Perhaps you can reverse engineer it, the project is attached.

---

<div class="post-metadata">

**Author:** ![meshaalalshikh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/meshaalalshikh/32/1068142_2.png) [@meshaalalshikh](https://forums.unrealengine.com/u/meshaalalshikh)\
**Post date:** [December 3, 2022, 10:58am UTC](https://forums.unrealengine.com/t/widget-show-when-look-at-an-object/720108/3 "2022-12-03T10:58:46Z")

</div>

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/6/cf69b75410392a1c4fef39a96168468797746484.jpeg "Display Name On Screen Of Object You Are Looking At - Unreal Engine Tutorial") ](https://www.youtube.com/watch?v=GXcGAvik2cc)

i found this method online but i couldn’t find a way around it to make a widget icon instead of object name .
