Is it possible to activate trigger volume just by looking at it?

Hello!
I was thinking that is it possible to activate trigger box just by looking at it like the method used in Horror Games like Layers of fear. Where a certain event is triggered through camera movement?
Like looking at a wall and perform certain events where the camera moves.

Usually tracing used for this.

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/index.html