docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    AR gestures

    Touchscreen gestures

    Touchscreen gesture data is surfaced by the TouchscreenGestureInputController which translates touch events into gestures such as tap, drag, pinch and twist. This gesture data can be used as bindings for Input System actions.

    The XR Interaction Toolkit package comes with a number of pre-defined gestures, but you can always extend this package by defining your own gestures.

    Gesture Triggered by input
    Tap User touches the screen
    Drag User drags finger across screen
    Pinch User moves two fingers toward or away from each other along a straight line
    Twist User rotates two fingers around a center point
    Two Finger Drag User drags with two fingers
    In This Article
    Back to top
    Copyright © 2025 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)