docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum PickingDirection

    The direction used for the picking algorithm during pointer interactions in world space.

    Namespace: UnityEngine.UIElements.TestFramework
    Assembly: Unity.UI.TestFramework.Runtime.dll
    Syntax
    public enum PickingDirection

    Fields

    Name Description
    ElementDirection

    Picking is executed using the element's forward axis as the direction of the ray coming into the panel.

    PanelDirection

    Picking is executed using the panel's forward axis. In that case, the element's rotation within the panel is not taken into account.

    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)