change the transparency of the material when you change the angle to the object

I need to make sure that if I do not look at the object, it disappears and when I smoothly turn the head to it, it appears
is it possible to do it with blueprints?

If I look at object, it appears. If not, it disappears.

I would start with the FindLookAtRotation Node to get the angle between camera and object that should disappear.

So that you get 0 degree if you look at and 90 / -90 if you look left or right away.
Maybe Clamp the value.

With the cosine of that angle you should then get a smooth transition from 0 to 1…
Then you need a DynamicMaterialInstance of your Material and change the opacity with those values.