Home › Forums › Software Development › Get Eye-screen-coordinates and match it with a Unity game object › Reply To: Get Eye-screen-coordinates and match it with a Unity game object

Hi Furkan,
The kind of data you want is called Gaze Point data in EyeX. It is the location on the screen where the user is looking.
In the EyeX Unity package there is an EyeX component called GazePointDataComponent that you can add to your game object. From the component you can then read the LastGazePoint property in your update loop to get the last EyeXGaxePoint. The EyeXGazePoint struct has properties to get the gaze point in Screen, Viewport, GUI and Display coordinates.
There are also EyeX components that are directly coupled to looking at the game object. For example you can add a GazeAwareComponent which has a property that tells you if the user is currently looking at the game object or not.
Check out this quick and simple tutorial on how to get started in Unity and have a cube that spins when you look at it:
http://developer.tobii.com/getting-started-tobii-eyex-sdk-for-unity/