Casting in blueprint

I follow a tutorial and it’s supposed to display the name of the object I’m looking at on the user interface