docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Responding to input

    Learn how to implement responses to the input that you have configured in your project.

    Topic Description
    About responding to input Learn the ways you can implement responses to input in your project.
    Enabling actions Learn to enable or disable actions to suit different situations.
    Polling actions Repeatedly check the status or value of an action.
    Set callbacks on actions Set up an action to inform your code that a certain type of input has occurred.
    Read devices directly Directly read the state of a device's controls.
    Scripting with actions API overview Learn about important APIs for scripting with actions in the Input System.
    The Player Input component Configure how actions map to methods or callbacks in the script that controls your player, and handle local multiplayer scenarios such as player lobbies, device filtering, and screen-splitting.
    The Player Input Manager Component Set up local multiplayer games, where multiple players share a single screen and multiple controllers.

    Additional resources

    • Setting up input
    • Actions
    • Devices
    • User rebinding at runtime
    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)