I’m trying to figure out a way to drive a “objective” widget opacity depending on its screen space. The objective widget tells the player for example “A 624m”. What i want is that when you look at the objective widget, it being close to the middle of the screen it should have some opacity. If you aren’t looking straight at it, it will be fully visible. Any ides on how to set this up?
The way i have it set up right now i have a widget component inside a BP that is the objective itself. All works as intended except i can’t figure out how to do the opacity function, can’t access the necessary variables ?
Any ides are welcome!