How I can do that?

Hi. Help me, please: how to make E button or custom icon for pick up the object like here:

Looks like a little icon that tracks a specific location of a mesh.

  • have a static mesh in the actor
  • have a socket on the mesh where the interaction should happen
  • have the object create a widget when the player gets close and include some hide / show functionality for it (the icon)
  • track the widget by deprojecting socket world position to screen position

In order for the interaction to actually happen for different types of objects, you may want to look into interfaces.