How to change static mesh when you're looking at it?

Thank you for your answer !

I can indeed do that. But if I had 20 objects then I had to make 20 variables. So that’s why I wanted to GetObjectLocation if that exists and is possible haha. It would be great if my LineTrace could point at a object, and can change to a different object when I press “E”.

But thank you for your help, I really appreciate it! It gave me some ideas which might solve this problem. :slight_smile: