Text panel showing upon hover over object

Dear all,

I want to make an event for all object that i have, once i hover over or mouse press it will show text panel over the object(which later on i am planning to read these text value from excel file). so i have two question.

1- from where to start?
2- what is the easiest way to make one event for all available objects?

Ok lets make this simpler i have an character so i want to add event on begin cursor over (cursor over object) it will show the object name as text, please help

Sorry not to give a full answer, but I think if you learn some basic UMG tutorials and learn how to use Blueprint Interfaces, then you will know what to do.

You will have to decide if you want to display the text on the viewport HUD or in the world. If in the world, you must spawn or make visible and change text on a Widget Component that is on the object you’re hovering mouse over.

If on the HUD you must project the world coordinates of the object to screen coordinates to position it in the right place.

Firstly thank you for your answer, i been developing my situation and am almost there and now am stuck again. just i want to find a way once my mouse hover over any object (Not Widget) will read it. since i will have many object in the level i can’t add event for each object i want to make something general. what i could reach that to add event per object and it worked with me.(i am using level blueprint)

You could do a linetrace from the deprojection of the mouse cursor position on screen in world coordinates, forward in the viewport camera’s rotation, really far (like hundreds of thousands of unreal units) and then have it report the hit results of the trace.

Finally found it

Well that’s cool. I didnt know about that node.