Home Forums Unity SDK 2D homemade GazeAware component Reply To: 2D homemade GazeAware component

Alex [Tobii]

You can try something like bounds.IntersectRay(Camera.current.ScreenPointToRay(TobiiAPI.GetGazePoint().Screen))

Don’t forget to put some time delay before you remove/switch the focus from the object to avoid flickering because of gaze point jitter.

Something like “Don’t switch focus for next 0.5 sec if object got gaze point current frame”.