Interacting when looking at object

Hi!

I’m trying to find a tutorial on how to interact with a object and highlight it but all the tutorials I’ve found are utdated. If anybody do know how to interact with a object when highlight it, can you please respond!