docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Default UI Action Map reference

    The default project-wide actions asset has a default configuration for UI input.

    Action Action Type Control Type Description
    Navigate PassThrough Vector2 A vector used to select the currently active UI selectable in gamepad or arrow-key navigation-type input.
    Submit Button Button Submits the currently selected UI selectable in navigation-type input
    Cancel Button Button Exits any interaction with the currently selected UI selectable in navigation-type input
    Point PassThrough Vector2 A 2D screen position. The cursor for pointer-type interaction.
    Click PassThrough Button The primary button for pointer-type interaction.
    RightClick PassThrough Button The secondary button for pointer-type interaction.
    MiddleClick PassThrough Button The middle button for pointer-type interaction.
    ScrollWheel PassThrough Vector2 The scrolling gesture for pointer-type interaction.
    Tracked Device Position PassThrough Vector3 A 3D position of one or multiple spatial tracking devices, such as XR hand controllers. In combination with Tracked Device Orientation, this allows XR-style UI interactions by pointing at UI selectables in space. Refer to tracked-type input.
    Tracked Device Orientation PassThrough Quaternion a Quaternion representing the rotation of one or multiple spatial tracking devices, such as XR hand controllers. In combination with Tracked Device Position, this allows XR-style UI interactions by pointing at UI selectables in space. Refer to tracked-type input.
    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)