Home Forums EyeX Software Development dev Unity UI Gaze Aware Button

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Alex [Tobii] Alex [Tobii] 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6413
    Profile photo of Calum Timpany
    Calum Timpany

    I’m wondering if there is any way to set up a button in Unity to be gaze aware. Essentially what i’m trying to do is to be able to interact with a button using gaze like you would with a mouse (i.e. look at the button, and then click to have it perform whatever action it is set to do).

    From looking at other forum posts it looks like this was possible to do in the past, but i’m assuming after Unity change how UI works that this changed.

    I’m relatively new to using the Unity SDK, only having started using it this year as part of a University project, so apologies if there is a very straightforward way of doing this that I’ve managed to miss.

    If it is still possible to make a gaze aware button then I would appreciate if someone could explain how to to this. If it is not possible it would be useful if someone could explain why this is the case, as this would be something I could include in my final report.

    Profile photo of Alex [Tobii]
    Alex [Tobii]


    Currently we support gaze aware components only for 3d objects. But you can definitely compare gaze coordinates with ui element bounds to make it gaze aware.

    Please make sure to use some filtering/stickiness and add margins to you UI button bounds. It’s also probably not the best use case for eye tracking if we are talking about game features.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.