widget show when look at an object

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

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.