How can i get my material on an object to look at the camera

I have done a lot of researching into this to try and find an answer and I can not find anything I imagine its hopefully more simple than what I think but basically I have a table asset with a big Eye on the front of the table the table and the eye are one object but use separate materials my aim is to basically make the eye material look at the player whilst they move around the room hoping this can be done by some sort of rotate material system or something but I cant work out how Thank you Please Help!

Hey there, you can do that easily if you separate the eye from table. The basic idea is that on every tick you’ll get the direction from the eye to the player, you do that by subtracting the player’s world location with the eye’s world location, that will give you the look at direction vector. After that you call Rotation from X Vector to get the corresponding rotation. To finish it off you need to set the eyes component rotation with Set World Rotation to that value and it should work.