# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://forums.unrealengine.com/t/widget-show-when-look-at-an-object/720108)._
