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

#11264
Alex [Tobii]
Participant

Great that we managed to help. I’m not sure about float zPos = transform.position.z;
z coordinate you pass into ScreenToWorldPoint is a distance from the camera.
So you may want to put correct z so that points end up being on the plane where you draw the sprites.