docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interactor Events

    You can assign listener functions for interaction events in the Inspector window and in a C# class. These events apply to interactors - objects that can interact with interactables.

    The UI Hover Entered and UI Hover Exited events are not available on all interactor components. Only those interactors that implement IUIHoverInteractor and enable UI Interaction with the XR UI Input Module, such as XR Poke Interactor, will have these events.

    For detailed code examples showing how to subscribe to events and work with the event arguments, refer to Handle interaction events.

    Property Description
    Hover Entered The event that is called when this interactor begins hovering over an interactable.
    Hover Exited The event that is called when this interactor ends hovering over an interactable.
    Select Entered The event that is called when this interactor begins selecting an interactable.
    Select Exited The event that is called when this interactor ends selecting an interactable.
    UI Hover Entered Event Event triggered when a UI element is hovered over by this interactor.
    UI Hover Exited Event Event triggered when a UI element is no longer hovered over by this interactor.
    Note

    Additional events might be available to listeners you assign in C# code. Refer to the XRBaseInteractor subclass documentation for specific information.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)